From 0f96b6bf07c02704272a90a017ee14661dca8ce0 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 23 Jan 2015 17:19:19 +0000 Subject: Visual/edit modes: miscellaneous improvements. --- lib/handler_stack.coffee | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/handler_stack.coffee') 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 -- cgit v1.2.3