summaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-14 20:25:41 -0500
committerGitHub <noreply@github.com>2021-02-14 20:25:41 -0500
commitd6332d2bc723f9aa60f2c886564bef49a6b91b84 (patch)
treea86c90cdc02f5a7d6633f69e48f3b9d289b61130 /ext/sw.js
parentd97c84f8ac1ac3dc6e058057aa7a4ad5c54930ac (diff)
Test html script ordering (#1396)
* Simplify getAllFiles * Add test to validate script order * Update script include order * Update content script order * Update sw.js and corresponding lint * Update manifest
Diffstat (limited to 'ext/sw.js')
-rw-r--r--ext/sw.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/ext/sw.js b/ext/sw.js
index 6e9952d6..802f3ba3 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -20,29 +20,29 @@ self.importScripts(
'/lib/wanakana.min.js',
'/js/core.js',
'/js/yomichan.js',
+ '/js/background/backend.js',
'/js/background/environment.js',
- '/js/language/japanese-util.js',
- '/js/general/cache-map.js',
- '/js/language/dictionary-data-util.js',
- '/js/general/object-property-accessor.js',
+ '/js/background/profile-conditions-util.js',
+ '/js/background/request-builder.js',
'/js/comm/anki.js',
- '/js/media/audio-downloader.js',
'/js/comm/clipboard-monitor.js',
'/js/comm/clipboard-reader.js',
+ '/js/comm/mecab.js',
'/js/data/database.js',
- '/js/language/deinflector.js',
- '/js/language/dictionary-database.js',
'/js/data/json-schema.js',
- '/js/comm/mecab.js',
- '/js/media/media-util.js',
'/js/data/options-util.js',
'/js/data/permissions-util.js',
- '/js/background/profile-conditions-util.js',
- '/js/background/request-builder.js',
'/js/dom/simple-dom-parser.js',
- '/js/templates/template-patcher.js',
+ '/js/general/cache-map.js',
+ '/js/general/object-property-accessor.js',
'/js/general/text-source-map.js',
+ '/js/language/deinflector.js',
+ '/js/language/dictionary-data-util.js',
+ '/js/language/dictionary-database.js',
+ '/js/language/japanese-util.js',
'/js/language/translator.js',
- '/js/background/backend.js',
+ '/js/media/audio-downloader.js',
+ '/js/media/media-util.js',
+ '/js/templates/template-patcher.js',
'/js/background/background-main.js'
);