aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dom_utils.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-10 08:25:02 +0000
committerStephen Blott2015-01-10 11:03:01 +0000
commitfdcdd0113049042c94b2b56a6b716e2da58b860e (patch)
tree5cbeacce234df58fc1f5c125f2055a591578a510 /lib/dom_utils.coffee
parentac90db47aa2671cd663cc6a9cdf783dc30a582e9 (diff)
downloadvimium-fdcdd0113049042c94b2b56a6b716e2da58b860e.tar.bz2
Modes; instrument for debugging...
- Set Mode.debug to true to see mode activation/deactivation on the console. - Use Mode.log() to see a list of currently-active modes. - Use handlerStack.debugOn() to enable debugging of the handler stack.
Diffstat (limited to 'lib/dom_utils.coffee')
-rw-r--r--lib/dom_utils.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee
index 9d7ca867..322188b3 100644
--- a/lib/dom_utils.coffee
+++ b/lib/dom_utils.coffee
@@ -206,6 +206,7 @@ DomUtils =
# Suppress the next keyup event for Escape.
suppressKeyupAfterEscape: (handlerStack) ->
handlerStack.push
+ _name: "dom_utils/suppressKeyupAfterEscape"
keyup: (event) ->
return true unless KeyboardUtils.isEscape event
@remove()