aboutsummaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-08 21:01:55 -0500
committerGitHub <noreply@github.com>2021-03-08 21:01:55 -0500
commitc6f4144fda0f07ddfc84ebee1960264c968d156b (patch)
tree23e1a7de5c3d6ff0ce1743726322d1d5005434dc /ext/sw.js
parent643dbfb12a66b98b2fabe82416322f0218474567 (diff)
Clean up translator (#1505)
* Remove unused: _removeUsedDefinitions * Remove unused: _scoreToTermFrequency * Remove unused: _getTermTagsScoreSum * Add RegexUtil * Update Translator to use RegexUtil * Update sw.js * Update tests
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 89fb4d0f..a1fb7ea1 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -36,6 +36,7 @@ self.importScripts(
'/js/dom/simple-dom-parser.js',
'/js/general/cache-map.js',
'/js/general/object-property-accessor.js',
+ '/js/general/regex-util.js',
'/js/general/text-source-map.js',
'/js/language/deinflector.js',
'/js/language/dictionary-data-util.js',