From 9efa8454004aa294c47828dbb9a350211aeba4df Mon Sep 17 00:00:00 2001 From: Katherine Smith Date: Fri, 2 Feb 2018 10:57:32 +0000 Subject: [PATCH] Bind this in forEach callback --- addon/create-mixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/create-mixin.js b/addon/create-mixin.js index 7b8d307..9ea37c0 100644 --- a/addon/create-mixin.js +++ b/addon/create-mixin.js @@ -61,7 +61,7 @@ export default function(bindEvent, unbindEvent) { invokeAction(actionObject); } self.mousetraps.push(mousetrap); - }); + }, this); }),