aboutsummaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-18 17:06:30 -0500
committerGitHub <noreply@github.com>2020-12-18 17:06:30 -0500
commit05d4049f16715194842cf8cdf62345478288ee71 (patch)
treebd64ad1829e8da9f08dc968abddb6f6f8cad6d41 /ext/sw.js
parent9beb659b178ab922a4d11a821ed6d2f1bce40f96 (diff)
DOMParser replacement (#561)
* Add script to build library files * Add built parse5 library * Add new SimpleDOMParser which uses parse5 * Update license info * Update MV3 build to use the new SimpleDOMParser * Update file exclusions * Hide/clarify license info for MV2 builds
Diffstat (limited to 'ext/sw.js')
-rw-r--r--ext/sw.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/sw.js b/ext/sw.js
index 1b377ae0..4d3b59ce 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -16,6 +16,7 @@
*/
self.importScripts(
+ '/mixed/lib/parse5.js',
'/mixed/lib/wanakana.min.js',
'/mixed/js/core.js',
'/mixed/js/yomichan.js',
@@ -37,7 +38,7 @@ self.importScripts(
'/bg/js/options.js',
'/bg/js/profile-conditions.js',
'/bg/js/request-builder.js',
- '/bg/js/native-simple-dom-parser.js',
+ '/bg/js/simple-dom-parser.js',
'/bg/js/text-source-map.js',
'/bg/js/translator.js',
'/bg/js/backend.js',