Added gitignore for db folder

This commit is contained in:
Eduard Urbach 2017-06-21 19:34:59 +02:00
parent e5e4ea48f1
commit 9cee62dd64
3 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View File

@ -43,9 +43,6 @@ debug
# binaries
/notify.moe
# Database
/db
# Log files
*.log

2
db/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -1,5 +1,6 @@
import { Application } from "./Application"
import { AnimeNotifier } from "./AnimeNotifier"
import { Diff } from "./Diff"
// Save new data from an input field
export function save(arn: AnimeNotifier, input: HTMLInputElement | HTMLTextAreaElement) {
@ -84,7 +85,7 @@ export function search(arn: AnimeNotifier, search: HTMLInputElement, e: Keyboard
return
}
results.innerHTML = html
Diff.innerHTML(results, html)
arn.app.emit("DOMContentLoaded")
})
}