diff options
| author | Stephen Blott | 2015-01-02 08:23:12 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2015-01-02 08:23:12 +0000 | 
| commit | b5535bc5a1b44c12cff62bac601a8d6ec7e04a6c (patch) | |
| tree | ea57c640a2582407b66f511a33ada5a2a9ba434e /lib/handler_stack.coffee | |
| parent | a321ca5e1a335f0b04714fa8ea00c2bac8febb86 (diff) | |
| download | vimium-b5535bc5a1b44c12cff62bac601a8d6ec7e04a6c.tar.bz2 | |
Modes; better name for handlerStack.passDirectlyToPage.
Diffstat (limited to 'lib/handler_stack.coffee')
| -rw-r--r-- | lib/handler_stack.coffee | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee index 6f599dc7..8929fa53 100644 --- a/lib/handler_stack.coffee +++ b/lib/handler_stack.coffee @@ -5,7 +5,7 @@ class HandlerStack    constructor: ->      @stack = []      @counter = 0 -    @passThrough = new Object() # Used only as a constant, distinct from any other value. +    @passDirectlyToPage = new Object() # Used only as a constant, distinct from any other value.    genId: -> @counter = ++@counter @@ -28,9 +28,9 @@ class HandlerStack          if not passThrough            DomUtils.suppressEvent(event)            return false -        # If the constant @passThrough is returned, then discontinue further bubbling and pass the event -        # through to the underlying page.  The event is not suppresssed. -        if passThrough == @passThrough +        # If the constant @passDirectlyToPage is returned, then discontinue further bubbling and pass the +        # event through to the underlying page.  The event is not suppresssed. +        if passThrough == @passDirectlyToPage            return false      true | 
