From 36d9b07f7617b18706f9523cfee121a0e2cf61b0 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 4 Mar 2016 06:30:09 +0000 Subject: Do not use standalone @. The styles guide says not to use standalone `@`. So this changes the occurrences I could find (with sed) to `this`. Occurrences within files with major outstanding PRs are omitted. --- tests/unit_tests/handler_stack_test.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit_tests') 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 -- cgit v1.2.3