From a0e2d9cb721d44a89715f3a9df10135c2aebfe29 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 20 Jul 2017 21:32:17 -0700 Subject: [PATCH] cleanup --- ext/bg/background.html | 2 +- ext/bg/js/{yomichan.js => backend.js} | 2 +- ext/bg/js/instance.js | 2 +- ext/fg/js/frontend.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename ext/bg/js/{yomichan.js => backend.js} (99%) 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 @@ - + diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/backend.js similarity index 99% rename from ext/bg/js/yomichan.js rename to 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() { diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 5a51af6d..e32a630d 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -17,7 +17,7 @@ */ -window.frontend = new class { +window.yomichanFrontend = new class { constructor() { this.popup = new Popup(); this.popupTimer = null;