summaryrefslogtreecommitdiff
path: root/ext/bg/js/anki.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-14 21:43:09 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-14 21:43:09 -0700
commitbdf231082f4b4ca7c4c90d8b0cd40b6c4201723d (patch)
treeb378fa497e850c85145b241541edcace45324ca1 /ext/bg/js/anki.js
parent82863cd86156d48b9f18dc10a560bedb82641862 (diff)
lots of fixes to backend
Diffstat (limited to 'ext/bg/js/anki.js')
-rw-r--r--ext/bg/js/anki.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/bg/js/anki.js b/ext/bg/js/anki.js
index f0ec4571..c327969f 100644
--- a/ext/bg/js/anki.js
+++ b/ext/bg/js/anki.js
@@ -17,6 +17,10 @@
*/
+/*
+ * AnkiConnect
+ */
+
class AnkiConnect {
constructor(server) {
this.server = server;
@@ -68,6 +72,11 @@ class AnkiConnect {
}
}
+
+/*
+ * AnkiNull
+ */
+
class AnkiNull {
async addNote(note) {
return null;