From a4acae4bb014a476506603e2e82e5d6467f30efe Mon Sep 17 00:00:00 2001 From: Miguel Andrade Date: Tue, 22 Nov 2016 10:14:09 +0000 Subject: [PATCH] remove usage of Ember.K --- addon/mixins/events-mixin.js | 10 +++++----- addon/mixins/translate3d-mixin.js | 7 +++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/addon/mixins/events-mixin.js b/addon/mixins/events-mixin.js index a3e7713c0..d91bdb48a 100644 --- a/addon/mixins/events-mixin.js +++ b/addon/mixins/events-mixin.js @@ -3,7 +3,7 @@ */ import Ember from 'ember'; -const { Mixin, K } = Ember; +const { Mixin } = Ember; /** * @class EventsMixin @@ -28,9 +28,9 @@ export default Mixin.create({ mouseLeave(e) { return this.up(e); }, - up: K, - down: K, - contextMenu: K, + up() {}, + down() {}, + contextMenu() {}, /* * Move events @@ -48,5 +48,5 @@ export default Mixin.create({ return this.move(e); }, - move: K + move() {} }); diff --git a/addon/mixins/translate3d-mixin.js b/addon/mixins/translate3d-mixin.js index 99ade7978..4bafa43d4 100644 --- a/addon/mixins/translate3d-mixin.js +++ b/addon/mixins/translate3d-mixin.js @@ -10,8 +10,7 @@ const { RSVP: { Promise }, computed, inject, - run, - K + run } = Ember; /** @@ -47,8 +46,8 @@ export default Mixin.create({ this.TRANSITIONEND = this.get('constants').get('CSS').TRANSITIONEND; }, - onTranslateFromEnd: K, - onTranslateToEnd: K, + onTranslateFromEnd() {}, + onTranslateToEnd() {}, didInsertElement() { this._super(...arguments);