aboutsummaryrefslogtreecommitdiffstats
path: root/lib/handler_stack.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handler_stack.coffee')
-rw-r--r--lib/handler_stack.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index 886a9ece..6f599dc7 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -7,7 +7,7 @@ class HandlerStack
@counter = 0
@passThrough = new Object() # Used only as a constant, distinct from any other value.
- genId: -> @counter = ++@counter & 0xffff
+ genId: -> @counter = ++@counter
# Adds a handler to the stack. Returns a unique ID for that handler that can be used to remove it later.
push: (handler) ->