diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-07-27 21:42:14 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-07-27 21:42:14 -0700 |
commit | adbc7a32cc0cb050b29443e0719e36dd8fafde58 (patch) | |
tree | a9ef1b3456795070087572b76e96b4d1bcb774f1 /ext/bg/js/backend.js | |
parent | eed630e9fa3c62610bda356e9c76393e70c1a08c (diff) |
cleanup
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 10 |
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(); +}; |