aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-14 19:55:04 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-14 19:55:04 -0700
commit82863cd86156d48b9f18dc10a560bedb82641862 (patch)
treec31e760ab960d5b4c3def5a313e8cf0fb9277612 /ext/bg/js
parent8b50dfe1e9a8be7b8d2a7c69b25bc04babfc1c0c (diff)
renaming files
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/context.js (renamed from ext/bg/js/popup.js)0
-rw-r--r--ext/bg/js/search.js (renamed from ext/bg/js/display-window.js)6
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/popup.js b/ext/bg/js/context.js
index 77cb5166..77cb5166 100644
--- a/ext/bg/js/popup.js
+++ b/ext/bg/js/context.js
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/search.js
index cbb96681..87f50c32 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/search.js
@@ -17,7 +17,7 @@
*/
-window.yomichan_window = new class extends Display {
+class DisplaySearch extends Display {
constructor() {
super($('#spinner'), $('#content'));
@@ -51,4 +51,6 @@ window.yomichan_window = new class extends Display {
this.onError(e);
}
}
-};
+}
+
+window.yomichan_search = new DisplaySearch();