summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-07-19 22:05:37 -0400
committerGitHub <noreply@github.com>2020-07-19 22:05:37 -0400
commitd7aaab685ee23ebcd60b69211b02f6a66f57fa17 (patch)
treeca59e232aa7b1220d994887bf5caa383386917bc /ext/bg/js/backend.js
parent8aa7bc1eec23ee7f347aacd63a21552762c4e2b8 (diff)
Dev dependencies updates (#679)
* Update eslint to 7.5.0 * Update eslint-plugin-no-unsanitized to 3.1.2 * Update fake-indexeddb to 3.1.1 * Rename DictionaryImporter.import to .importDictionary Conflicts with o-unsanitized/method
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 9bdcc18a..74680099 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -757,7 +757,7 @@ class Backend {
}
async _onApiImportDictionaryArchive({archiveContent, details}, sender, onProgress) {
- return await this._dictionaryImporter.import(this._dictionaryDatabase, archiveContent, details, onProgress);
+ return await this._dictionaryImporter.importDictionary(this._dictionaryDatabase, archiveContent, details, onProgress);
}
async _onApiDeleteDictionary({dictionaryName}, sender, onProgress) {
@@ -1064,7 +1064,7 @@ class Backend {
}
async _importDictionary(archiveSource, onProgress, details) {
- return await this._dictionaryImporter.import(this._dictionaryDatabase, archiveSource, onProgress, details);
+ return await this._dictionaryImporter.importDictionary(this._dictionaryDatabase, archiveSource, onProgress, details);
}
async _textParseScanning(text, options) {