From 30999e0c651242d8071dca6a90f5739f22ac9afb Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 2 Sep 2017 10:17:44 +0900 Subject: rename command names --- src/content/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/index.js') 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 -- cgit v1.2.3