diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-06 21:06:45 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-06 21:23:35 -0400 |
commit | 13b184707b1bb0c5150645d6cdd186accb345f60 (patch) | |
tree | dca363d100085b50b583514f2f3fb4ecad984baf /ext/bg/js/backend.js | |
parent | 35ca0f35dd2cfea3223e5a38d5465002dd54993b (diff) |
Remove unnecessary functions
apiOptionsSet not required in bg/js/api.js after optionsSave; optionsSave already invokes apiOptionsSet.
apiOptionsSet not required in fg/js/api.js since it's never invoked by the foreground.
optionsSet handler not required in bg/js/backend.js since the message is never sent by the foreground.
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index 39fd4288..c1cef0c5 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -85,10 +85,6 @@ class Backend { forward(apiOptionsGet(), callback); }, - optionsSet: ({options, callback}) => { - forward(apiOptionsSet(options), callback); - }, - kanjiFind: ({text, callback}) => { forward(apiKanjiFind(text), callback); }, |