summaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-28 21:57:25 -0400
committerGitHub <noreply@github.com>2022-05-28 21:57:25 -0400
commit0d82c52a7624d80ec48dc774fb23db5244bc14f9 (patch)
treece8f7c24250d24c2c4d1eae6c48dfe319de46d57 /ext/sw.js
parent4e4fa49b0b1fd6ec5a018e742eb9910aa32e7637 (diff)
HTML page script refactoring (#2162)
* Move some common functionality * Move setupEnvironmentInfo into ExtensionContentController * Move background/environment.js to extension/environment.js
Diffstat (limited to 'ext/sw.js')
-rw-r--r--ext/sw.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sw.js b/ext/sw.js
index 3b567f55..0016c28f 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -22,7 +22,6 @@ self.importScripts(
'/js/yomichan.js',
'/js/accessibility/accessibility-controller.js',
'/js/background/backend.js',
- '/js/background/environment.js',
'/js/background/profile-conditions-util.js',
'/js/background/request-builder.js',
'/js/background/script-manager.js',
@@ -37,6 +36,7 @@ self.importScripts(
'/js/data/permissions-util.js',
'/js/data/sandbox/string-util.js',
'/js/dom/simple-dom-parser.js',
+ '/js/extension/environment.js',
'/js/general/cache-map.js',
'/js/general/object-property-accessor.js',
'/js/general/regex-util.js',