diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-07-20 21:32:17 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-07-20 21:32:17 -0700 |
commit | a0e2d9cb721d44a89715f3a9df10135c2aebfe29 (patch) | |
tree | 0d0b50f1cfbec746cd517f471d102e63a33ad3d1 /ext/bg | |
parent | d6c2f1cc38a2490afe79b0d8e1f24ad214ee9534 (diff) |
cleanup
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/background.html | 2 | ||||
-rw-r--r-- | ext/bg/js/backend.js (renamed from ext/bg/js/yomichan.js) | 2 | ||||
-rw-r--r-- | ext/bg/js/instance.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/background.html b/ext/bg/background.html index de3cbf20..27d9bc41 100644 --- a/ext/bg/background.html +++ b/ext/bg/background.html @@ -21,6 +21,6 @@ <script src="/bg/js/database.js"></script> <script src="/bg/js/deinflector.js"></script> <script src="/bg/js/translator.js"></script> - <script src="/bg/js/yomichan.js"></script> + <script src="/bg/js/backend.js"></script> </body> </html> diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/backend.js index 214bdef3..f5415d93 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/backend.js @@ -17,7 +17,7 @@ */ -window.yomichan = new class { +window.yomichanBackend = new class { constructor() { handlebarsRegister(); diff --git a/ext/bg/js/instance.js b/ext/bg/js/instance.js index 0df267cc..bf858fbf 100644 --- a/ext/bg/js/instance.js +++ b/ext/bg/js/instance.js @@ -18,7 +18,7 @@ function instYomi() { - return chrome.extension.getBackgroundPage().yomichan; + return chrome.extension.getBackgroundPage().yomichanBackend; } function instDb() { |