From 9cee62dd64490057f29a6aa5d9e52a53142caf18 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 21 Jun 2017 19:34:59 +0200 Subject: [PATCH] Added gitignore for db folder --- .gitignore | 3 --- db/.gitignore | 2 ++ scripts/actions.ts | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 db/.gitignore diff --git a/.gitignore b/.gitignore index ae04de90..f3d92034 100644 --- a/.gitignore +++ b/.gitignore @@ -43,9 +43,6 @@ debug # binaries /notify.moe -# Database -/db - # Log files *.log diff --git a/db/.gitignore b/db/.gitignore new file mode 100644 index 00000000..c96a04f0 --- /dev/null +++ b/db/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/scripts/actions.ts b/scripts/actions.ts index ea847eab..c5ea25c8 100644 --- a/scripts/actions.ts +++ b/scripts/actions.ts @@ -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") }) }