Remove AnkiNull and redundant comment

This commit is contained in:
toasted-nutbread 2020-04-12 12:38:52 -04:00
parent 4c2ca82a29
commit cc5e429422

View File

@ -19,10 +19,6 @@
* requestJson * requestJson
*/ */
/*
* AnkiConnect
*/
class AnkiConnect { class AnkiConnect {
constructor(server) { constructor(server) {
this._enabled = false; this._enabled = false;
@ -132,38 +128,3 @@ class AnkiConnect {
return `${key.toLowerCase()}:"${this._escapeQuery(fields[key])}"`; 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 [];
}
}