diff options
Diffstat (limited to 'lib/handler_stack.coffee')
| -rw-r--r-- | lib/handler_stack.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee index 9630759c..8faec088 100644 --- a/lib/handler_stack.coffee +++ b/lib/handler_stack.coffee @@ -54,6 +54,8 @@ class HandlerStack return true if result == @stopBubblingAndTrue return false if result == @stopBubblingAndFalse return @bubbleEvent type, event if result == @restartBubbling + else + @logResult eventNumber, type, event, handler, "skip" if @debug true remove: (id = @currentId) -> @@ -92,6 +94,7 @@ class HandlerStack when @stopBubblingAndTrue then "stop/true" when @stopBubblingAndFalse then "stop/false" when @restartBubbling then "rebubble" + when "skip" then "skip" when true then "continue" label ||= if result then "continue/truthy" else "suppress" console.log "#{eventNumber}", type, handler._name, label |
