diff options
| author | Stephen Blott | 2016-05-17 07:03:55 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-05-17 07:03:55 +0100 |
| commit | 539cc1969f173171a21bc659f700a317d6f8dc4d (patch) | |
| tree | d1baa1187c72a732bf9739649c9aca319e7faa65 /background_scripts | |
| parent | a1c00c38abee530f84572c36c7422e4ee793316b (diff) | |
| parent | eced401764bb679af6f34559861c2b1bc39c2752 (diff) | |
| download | vimium-539cc1969f173171a21bc659f700a317d6f8dc4d.tar.bz2 | |
Merge pull request #2133 from smblott-github/use-event.key
Use event.key (not event.keyIdentifier).
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/commands.coffee | 1 |
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" |
