aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/display-window.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-07-23 22:48:33 -0700
committerAlex Yatskov <alex@foosoft.net>2017-07-23 22:48:33 -0700
commit32680c58b895e4c781cfb2f51a97fbff42e111b0 (patch)
tree138be93793d6eeaec78a6dc3868e008a8395e93c /ext/bg/js/display-window.js
parentedf1c0ff6d9eadd17c98f00ef027c27d1b89a8ee (diff)
cleanup
Diffstat (limited to 'ext/bg/js/display-window.js')
-rw-r--r--ext/bg/js/display-window.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/display-window.js
index 64e56f72..e5357bf9 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/display-window.js
@@ -29,26 +29,6 @@ window.displayWindow = new class extends Display {
window.wanakana.bind(query.get(0));
}
- definitionAdd(definition, mode) {
- return instYomi().definitionAdd(definition, mode);
- }
-
- definitionsAddable(definitions, modes) {
- return instYomi().definitionsAddable(definitions, modes).catch(() => []);
- }
-
- noteView(noteId) {
- return instYomi().noteView(noteId);
- }
-
- templateRender(template, data) {
- return instYomi().templateRender(template, data);
- }
-
- kanjiFind(character) {
- return instYomi().kanjiFind(character);
- }
-
handleError(error) {
window.alert(`Error: ${error}`);
}