aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/backend.js (renamed from ext/bg/js/yomichan.js)2
-rw-r--r--ext/bg/js/instance.js2
2 files changed, 2 insertions, 2 deletions
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() {