From e8f10007f1528808f72be6fac829cc55309527f2 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 11 Jan 2015 07:15:20 +0000 Subject: Modes; add DOM tests. --- lib/handler_stack.coffee | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') 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() -- cgit v1.2.3