diff options
| author | Stephen Blott | 2015-01-11 10:20:54 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-11 10:26:16 +0000 |
| commit | 355bb5fb2a06b4465a354350e2fa78ab5d53cb0b (patch) | |
| tree | c0d6d3e6557c18257b777613b289a6f5ac17668a /lib | |
| parent | e8f10007f1528808f72be6fac829cc55309527f2 (diff) | |
| download | vimium-355bb5fb2a06b4465a354350e2fa78ab5d53cb0b.tar.bz2 | |
Modes; rework debugging support.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/handler_stack.coffee | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee index b4cacf74..d671fb3a 100644 --- a/lib/handler_stack.coffee +++ b/lib/handler_stack.coffee @@ -82,9 +82,6 @@ class HandlerStack false # Debugging. - debugOn: -> @debug = true - debugOff: -> @debug = false - logResult: (type, event, handler, result) -> # FIXME(smblott). Badge updating is too noisy, so we filter it out. However, we do need to look at how # many badge update events are happening. It seems to be more than necessary. @@ -96,11 +93,7 @@ class HandlerStack when @restartBubbling then "rebubble" when true then "continue" label ||= if result then "continue/truthy" else "suppress" - @log @eventNumber, type, handler._name, label - - log: (args...) -> - line = args.join " " - console.log line + console.log "#{@eventNumber}", type, handler._name, label root.HandlerStack = HandlerStack root.handlerStack = new HandlerStack() |
