From 5d2261acb972374c45fca022f121609405873e90 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 9 Sep 2020 17:46:34 -0400 Subject: Update the AnkiController class to use an instance of AnkiConnect directly (#795) * Update AnkiController to use AnkiConnect instance directly * Remove unused --- ext/mixed/js/api.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ext/mixed/js') diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 701caba8..2192fa98 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -153,18 +153,6 @@ const api = (() => { return this._invoke('getDefaultAnkiFieldTemplates'); } - getAnkiDeckNames() { - return this._invoke('getAnkiDeckNames'); - } - - getAnkiModelNames() { - return this._invoke('getAnkiModelNames'); - } - - getAnkiModelFieldNames(modelName) { - return this._invoke('getAnkiModelFieldNames', {modelName}); - } - getDictionaryInfo() { return this._invoke('getDictionaryInfo'); } -- cgit v1.2.3