aboutsummaryrefslogtreecommitdiff
path: root/ext/sw.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-24 21:54:58 -0500
committerGitHub <noreply@github.com>2021-02-24 21:54:58 -0500
commitae92e0b3781e27d54cbac2570ba2a1b8a6b11999 (patch)
treeb7d7a7171a6cbc25d5f1fc4b4996024c4f73033e /ext/sw.js
parent0a76de1b44443cc668882125d73d83d5f7ba8a63 (diff)
AnkiUtil (#1439)
* Add AnkiUtil * Update AnkiConnect to use AnkiUtil * Use AnkiUtil in AnkiNoteBuilder * Replace containsAnyMarker with AnkiUtil.stringContainsAnyFieldMarker * Add AnkiUtil.getFieldMarkers * Add fieldsObjectContainsMarker to AnkiUtil * Remove unused global * Remove unused parameter: enabled * Add cloneFieldMarkerPattern
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 802f3ba3..89fb4d0f 100644
--- a/ext/sw.js
+++ b/ext/sw.js
@@ -28,6 +28,7 @@ self.importScripts(
'/js/comm/clipboard-monitor.js',
'/js/comm/clipboard-reader.js',
'/js/comm/mecab.js',
+ '/js/data/anki-util.js',
'/js/data/database.js',
'/js/data/json-schema.js',
'/js/data/options-util.js',