summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 0615ffae..4fabe4b2 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -17,7 +17,7 @@
*/
-class Backend {
+window.yomichanBackend = new class {
constructor() {
handlebarsRegister();
@@ -36,10 +36,4 @@ class Backend {
}
});
}
-
- static instance() {
- return chrome.extension.getBackgroundPage().yomichanBackend;
- }
-}
-
-window.yomichanBackend = new Backend();
+};