From 56fed2ac6663d99ca03023f3ffa313c51de5fe32 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Tue, 16 Feb 2016 13:48:20 +0000 Subject: Use `for own ... of` instead of `for ... of` --- background_scripts/commands.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'background_scripts/commands.coffee') 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. -- cgit v1.2.3