aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee7
1 files changed, 1 insertions, 6 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 7429b6f0..c13a09ba 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -24,12 +24,7 @@ Commands =
return
options ||= {}
- @availableCommands[command] =
- description: description
- isBackgroundCommand: options.background
- passCountToFunction: options.passCountToFunction
- noRepeat: options.noRepeat
- repeatLimit: options.repeatLimit
+ @availableCommands[command] = extend options, description: description
mapKeyToCommand: ({ key, command, options }) ->
unless @availableCommands[command]