aboutsummaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-28 21:17:10 -0500
committerGitHub <noreply@github.com>2021-01-28 21:17:10 -0500
commite610a62ceb07313c581a0bd2d5c8ebbc7c39ba4f (patch)
tree2c798350f52f47cc64353c12e54c43ebf2a535fc /ext/sw.js
parented0c0c20c095ac693dac3f1c4145e4c8dc83601a (diff)
Refactor anki field templates (#1323)
* Update glossary and glossary-single * Define patch * Create TemplatePatcher * Add test
Diffstat (limited to 'ext/sw.js')
-rw-r--r--ext/sw.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sw.js b/ext/sw.js
index baf963db..dd9a4060 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -39,6 +39,7 @@ self.importScripts(
'/bg/js/profile-conditions.js',
'/bg/js/request-builder.js',
'/bg/js/simple-dom-parser.js',
+ '/bg/js/template-patcher.js',
'/bg/js/text-source-map.js',
'/bg/js/translator.js',
'/bg/js/backend.js',