aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-05-17 07:03:55 +0100
committerStephen Blott2016-05-17 07:03:55 +0100
commit539cc1969f173171a21bc659f700a317d6f8dc4d (patch)
treed1baa1187c72a732bf9739649c9aca319e7faa65 /background_scripts/commands.coffee
parenta1c00c38abee530f84572c36c7422e4ee793316b (diff)
parenteced401764bb679af6f34559861c2b1bc39c2752 (diff)
downloadvimium-539cc1969f173171a21bc659f700a317d6f8dc4d.tar.bz2
Merge pull request #2133 from smblott-github/use-event.key
Use event.key (not event.keyIdentifier).
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee1
1 files changed, 0 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 0905daee..c334cf9d 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -43,7 +43,6 @@ Commands =
key.replace(/<[acm]-/ig, (match) -> match.toLowerCase())
.replace(/<([acm]-)?([a-zA-Z0-9]{2,5})>/g, (match, optionalPrefix, keyName) ->
"<" + (if optionalPrefix then optionalPrefix else "") + keyName.toLowerCase() + ">")
- .replace /<space>/ig, " "
parseCustomKeyMappings: (customKeyMappings) ->
for line in customKeyMappings.split "\n"