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.coffee8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index c21ba8a8..b4cacf74 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -102,13 +102,5 @@ class HandlerStack
line = args.join " "
console.log line
- # Used by tests to get a duplicate copy of the initialized handler stack.
- duplicate: ->
- dup = new HandlerStack()
- dup.stack = @stack[..]
- for prop in [ "stopBubblingAndTrue", "stopBubblingAndFalse", "restartBubbling" ]
- dup[prop] = @[prop]
- dup
-
root.HandlerStack = HandlerStack
root.handlerStack = new HandlerStack()