summaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-12 12:38:52 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-12 12:38:52 -0400
commitcc5e4294223f9d0106ddec1d561b29ac449b1115 (patch)
treeadd058c0fddd0bd6893f7a2da5a9fddb5859d79e /ext/bg
parent4c2ca82a2937fa4e1d0f3f6744f4e1a7b88692a1 (diff)
Remove AnkiNull and redundant comment
Diffstat (limited to 'ext/bg')
-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 [];
- }
-}