From b5535bc5a1b44c12cff62bac601a8d6ec7e04a6c Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 2 Jan 2015 08:23:12 +0000 Subject: Modes; better name for handlerStack.passDirectlyToPage. --- lib/handler_stack.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/handler_stack.coffee') 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 -- cgit v1.2.3