diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit_tests/handler_stack_test.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/handler_stack_test.coffee b/tests/unit_tests/handler_stack_test.coffee index 0ed85e63..629fc3ed 100644 --- a/tests/unit_tests/handler_stack_test.coffee +++ b/tests/unit_tests/handler_stack_test.coffee @@ -63,7 +63,7 @@ context "handlerStack", assert.isFalse @handler1Called should "handle self-removing handlers correctly", -> - ctx = @ + ctx = this @handlerStack.push { keydown: => @handler1Called = true } @handlerStack.push { keydown: -> ctx.handler2Called = true |
