From f65720e58e31a0218e0c176a9140520451e5dd7d Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sat, 28 Oct 2017 17:04:37 +0100 Subject: Remove invokeCommandString, call NormalModeCommands directly --- content_scripts/mode_normal.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/mode_normal.coffee') diff --git a/content_scripts/mode_normal.coffee b/content_scripts/mode_normal.coffee index 6db42948..d6f2934e 100644 --- a/content_scripts/mode_normal.coffee +++ b/content_scripts/mode_normal.coffee @@ -31,7 +31,7 @@ class NormalMode extends KeyHandlerMode else if registryEntry.background chrome.runtime.sendMessage {handler: "runBackgroundCommand", registryEntry, count} else - Utils.invokeCommandString registryEntry.command, count, {registryEntry} + NormalModeCommands[registryEntry.command] count, {registryEntry} enterNormalMode = (count) -> new NormalMode -- cgit v1.2.3