diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-19 14:21:43 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-19 14:26:20 -0400 |
commit | 6c93d1984fbfe4fc21df4d0675fb4a82f2991ea3 (patch) | |
tree | 3d4419b0e666e99b922a788d55bcb5d98c59ce09 /ext/fg/js | |
parent | a6344f635de2464465317b2ceeb6e19aef056848 (diff) |
Change frontend-initialize.js to content-script-main.js
Diffstat (limited to 'ext/fg/js')
-rw-r--r-- | ext/fg/js/content-script-main.js (renamed from ext/fg/js/frontend-initialize.js) | 4 | ||||
-rw-r--r-- | ext/fg/js/popup-nested.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/frontend-initialize.js b/ext/fg/js/content-script-main.js index 2df59e20..974320cc 100644 --- a/ext/fg/js/frontend-initialize.js +++ b/ext/fg/js/content-script-main.js @@ -61,7 +61,7 @@ async function createPopupProxy(depth, id, parentFrameId, url) { return popup; } -async function main() { +async function contentScriptMain() { await yomichan.prepare(); const data = window.frontendInitializationData || {}; @@ -130,4 +130,4 @@ async function main() { await applyOptions(); } -main(); +contentScriptMain(); diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js index c140f9c8..27482931 100644 --- a/ext/fg/js/popup-nested.js +++ b/ext/fg/js/popup-nested.js @@ -26,7 +26,7 @@ function injectPopupNested() { '/fg/js/popup.js', '/fg/js/popup-proxy.js', '/fg/js/frontend.js', - '/fg/js/frontend-initialize.js' + '/fg/js/content-script-main.js' ]; for (const src of scriptSrcs) { const script = document.createElement('script'); |