diff options
| author | Stephen Blott | 2015-01-10 08:25:02 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-10 11:03:01 +0000 |
| commit | fdcdd0113049042c94b2b56a6b716e2da58b860e (patch) | |
| tree | 5cbeacce234df58fc1f5c125f2055a591578a510 /lib/dom_utils.coffee | |
| parent | ac90db47aa2671cd663cc6a9cdf783dc30a582e9 (diff) | |
| download | vimium-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.coffee | 1 |
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() |
