aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-09 12:59:49 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-09 12:59:49 -0700
commit5f46006e8da1d51a66291f25a2bc75959ec81efd (patch)
tree1a0b4d7948273ae95f8517cd77fc6d9e008f0f05 /ext/bg/js/backend.js
parent9a5a9aa47fd9a6c7ea6830a821689321e8fd9fbb (diff)
scrap sandbox
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 5061557b..7d68ed84 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -22,7 +22,6 @@ class Backend {
this.translator = new Translator();
this.anki = new AnkiNull();
this.options = null;
- this.sequence = 0;
}
async prepare() {
@@ -37,14 +36,6 @@ class Backend {
}
}
- sequenceNew() {
- return this.sequence++;
- }
-
- sandbox() {
- return document.getElementById('sandbox').contentWindow;
- }
-
onOptionsUpdated(options) {
this.options = utilIsolate(options);