diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-08-13 21:11:10 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-08-13 21:11:10 -0700 |
commit | 8b50dfe1e9a8be7b8d2a7c69b25bc04babfc1c0c (patch) | |
tree | d1dd0d6272788ee903936f3dce87ef06b5873edc /ext/bg/js/backend.js | |
parent | a202817b987e0af82607d814f775bde26947747a (diff) |
unify files
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index f61e9742..e8c9452c 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -17,7 +17,7 @@ */ -window.yomichan_backend = new class { +class Backend { constructor() { this.translator = new Translator(); this.anki = new AnkiNull(); @@ -113,6 +113,7 @@ window.yomichan_backend = new class { return true; } -}; +} +window.yomichan_backend = new Backend(); window.yomichan_backend.prepare(); |