From 3245cb8e605ba3fd59b9f99bdd28714157ed06eb Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 2 Oct 2016 09:34:06 +0100 Subject: Add comment giving example key parsing. --- background_scripts/commands.coffee | 1 + 1 file changed, 1 insertion(+) (limited to 'background_scripts/commands.coffee') 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, and 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. "b" -> ["", "", "b"]. normalizeKey: (key) -> if key.length == 0 [] -- cgit v1.2.3