diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-12 12:38:52 -0400 | 
|---|---|---|
| committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-12 12:38:52 -0400 | 
| commit | cc5e4294223f9d0106ddec1d561b29ac449b1115 (patch) | |
| tree | add058c0fddd0bd6893f7a2da5a9fddb5859d79e | |
| parent | 4c2ca82a2937fa4e1d0f3f6744f4e1a7b88692a1 (diff) | |
Remove AnkiNull and redundant comment
| -rw-r--r-- | ext/bg/js/anki.js | 39 | 
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 []; -    } -} |