diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-02 10:17:44 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-02 10:17:44 +0900 |
commit | 30999e0c651242d8071dca6a90f5739f22ac9afb (patch) | |
tree | 14b20741127582dfd1cdf6771381cbe516d496b9 /src/content/index.js | |
parent | 3e2820a6b4404568a36ebe279a97bb0bf2617c74 (diff) |
rename command names
Diffstat (limited to 'src/content/index.js')
-rw-r--r-- | src/content/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/index.js b/src/content/index.js index 710fbda..731d6a5 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -77,16 +77,16 @@ window.addEventListener("keypress", (e) => { messages.receive(window, (message) => { switch (message.type) { - case 'vimvixen.commandline.blur': + case 'vimvixen.command.blur': vvConsole.hide(); break; - case 'vimvixen.commandline.enter': + case 'vimvixen.command.enter': browser.runtime.sendMessage({ type: 'event.cmd.enter', text: message.value }); break; - case 'vimvixen.commandline.change': + case 'vimvixen.command.change': browser.runtime.sendMessage({ type: 'event.cmd.suggest', text: message.value |