diff options
| author | Stephen Blott | 2016-10-02 16:09:55 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-10-02 16:09:55 +0100 | 
| commit | 30387142cd1fee828f0dc39864c68960167deff1 (patch) | |
| tree | d040f1e9c746c20c23e11fd9ec612429c5291f6a /background_scripts | |
| parent | 3cabcc92adebabf7b5665fddc29c2fa3330ec000 (diff) | |
| download | vimium-30387142cd1fee828f0dc39864c68960167deff1.tar.bz2 | |
Tweak logging.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/commands.coffee | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 7ab09f24..531d491f 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -61,11 +61,13 @@ Commands =          switch tokens[0]            when "map"              [ _, key, command, optionList... ] = tokens +            keySequence = @parseKeySequence key              if command? and @availableCommands[command] -              keySequence = @parseKeySequence key                key = keySequence.join "" -              BgUtils.log "Mapping #{key} to #{command}" +              BgUtils.log "mapping [\"#{keySequence.join '", "'}\"] to #{command}"                @mapKeyToCommand { key, command, keySequence, options: @parseCommandOptions command, optionList } +            else +              BgUtils.log "skipping [\"#{keySequence.join '", "'}\"] for #{command} -- something is not right"            when "unmap"              if tokens.length == 2 | 
