aboutsummaryrefslogtreecommitdiffstats
path: root/lib/handler_stack.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-11 07:15:20 +0000
committerStephen Blott2015-01-11 10:14:38 +0000
commite8f10007f1528808f72be6fac829cc55309527f2 (patch)
tree2311d31a869cb2b7bf32c857b0728eae1eb19589 /lib/handler_stack.coffee
parentd65075a3b66fae93a10b849162fa907d0eb99846 (diff)
downloadvimium-e8f10007f1528808f72be6fac829cc55309527f2.tar.bz2
Modes; add DOM tests.
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()