aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2015-01-23 17:19:19 +0000
committerStephen Blott2015-01-24 06:48:00 +0000
commit0f96b6bf07c02704272a90a017ee14661dca8ce0 (patch)
tree256c156ddd617a1a207100abaafe77942fae7f6c /lib
parente1b7b0a963490b0991d72a0143f489e0bc1e8096 (diff)
downloadvimium-0f96b6bf07c02704272a90a017ee14661dca8ce0.tar.bz2
Visual/edit modes: miscellaneous improvements.
Diffstat (limited to 'lib')
-rw-r--r--lib/handler_stack.coffee3
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