diff options
| author | mrmr1993 | 2016-02-16 13:48:20 +0000 |
|---|---|---|
| committer | mrmr1993 | 2016-02-16 13:48:20 +0000 |
| commit | 56fed2ac6663d99ca03023f3ffa313c51de5fe32 (patch) | |
| tree | 53279879b1549a597b71de93530d0feb8ab6f044 /background_scripts/commands.coffee | |
| parent | ceada9cdf8cb97c35b4871553e3c8b642c4806ef (diff) | |
| download | vimium-56fed2ac6663d99ca03023f3ffa313c51de5fe32.tar.bz2 | |
Use `for own ... of` instead of `for ... of`
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 9c958461..db8cc60f 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -1,6 +1,6 @@ Commands = init: -> - for command, description of commandDescriptions + for own command, description of commandDescriptions @addCommand(command, description[0], description[1]) availableCommands: {} @@ -69,7 +69,7 @@ Commands = clearKeyMappingsAndSetDefaults: -> @keyToCommandRegistry = {} - @mapKeyToCommand { key, command } for key, command of defaultKeyMappings + @mapKeyToCommand { key, command } for own key, command of defaultKeyMappings # An ordered listing of all available commands, grouped by type. This is the order they will # be shown in the help page. |
