diff options
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index df979c6f..5fdca569 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -113,9 +113,6 @@ class Backend { ['getQueryParserTemplatesHtml', {async: true, contentScript: true, handler: this._onApiGetQueryParserTemplatesHtml.bind(this)}], ['getZoom', {async: true, contentScript: true, handler: this._onApiGetZoom.bind(this)}], ['getDefaultAnkiFieldTemplates', {async: false, contentScript: true, handler: this._onApiGetDefaultAnkiFieldTemplates.bind(this)}], - ['getAnkiDeckNames', {async: true, contentScript: false, handler: this._onApiGetAnkiDeckNames.bind(this)}], - ['getAnkiModelNames', {async: true, contentScript: false, handler: this._onApiGetAnkiModelNames.bind(this)}], - ['getAnkiModelFieldNames', {async: true, contentScript: false, handler: this._onApiGetAnkiModelFieldNames.bind(this)}], ['getDictionaryInfo', {async: true, contentScript: false, handler: this._onApiGetDictionaryInfo.bind(this)}], ['getDictionaryCounts', {async: true, contentScript: false, handler: this._onApiGetDictionaryCounts.bind(this)}], ['purgeDatabase', {async: true, contentScript: false, handler: this._onApiPurgeDatabase.bind(this)}], @@ -726,18 +723,6 @@ class Backend { return this._defaultAnkiFieldTemplates; } - async _onApiGetAnkiDeckNames() { - return await this._anki.getDeckNames(); - } - - async _onApiGetAnkiModelNames() { - return await this._anki.getModelNames(); - } - - async _onApiGetAnkiModelFieldNames({modelName}) { - return await this._anki.getModelFieldNames(modelName); - } - async _onApiGetDictionaryInfo() { return await this._dictionaryDatabase.getDictionaryInfo(); } |