diff options
| author | Stephen Blott | 2016-10-02 09:34:06 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-10-02 09:34:06 +0100 |
| commit | 3245cb8e605ba3fd59b9f99bdd28714157ed06eb (patch) | |
| tree | 777f5d90ceb4956833e21a4da1d2182ac8a77845 /background_scripts/commands.coffee | |
| parent | 967aa7bf31998f667616f19f9b83e409340b66d1 (diff) | |
| download | vimium-3245cb8e605ba3fd59b9f99bdd28714157ed06eb.tar.bz2 | |
Add comment giving example key parsing.
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index f43bd02b..7d9839aa 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -40,6 +40,7 @@ Commands = # On the other hand, <c-a> and <c-A> are different named keys - for one of # them you have to press "shift" as well. # We sort modifiers here to match the order used in keyboard_utils.coffee. + # The return value is a sequence of keys: e.g. "<Space><c-A>b" -> ["<space>", "<c-A>", "b"]. normalizeKey: (key) -> if key.length == 0 [] |
