aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/anki.js39
1 files changed, 0 insertions, 39 deletions
diff --git a/ext/bg/js/anki.js b/ext/bg/js/anki.js
index dd802424..27590311 100644
--- a/ext/bg/js/anki.js
+++ b/ext/bg/js/anki.js
@@ -19,10 +19,6 @@
* requestJson
*/
-/*
- * AnkiConnect
- */
-
class AnkiConnect {
constructor(server) {
this._enabled = false;
@@ -132,38 +128,3 @@ class AnkiConnect {
return `${key.toLowerCase()}:"${this._escapeQuery(fields[key])}"`;
}
}
-
-
-/*
- * AnkiNull
- */
-
-class AnkiNull {
- async addNote() {
- return null;
- }
-
- async canAddNotes() {
- return [];
- }
-
- async getDeckNames() {
- return [];
- }
-
- async getModelNames() {
- return [];
- }
-
- async getModelFieldNames() {
- return [];
- }
-
- async guiBrowse() {
- return [];
- }
-
- async findNoteIds() {
- return [];
- }
-}