Skip to content

Commit

Permalink
remove usage of Ember.K
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Nov 22, 2016
1 parent eb181e6 commit a4acae4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions addon/mixins/events-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import Ember from 'ember';

const { Mixin, K } = Ember;
const { Mixin } = Ember;

/**
* @class EventsMixin
Expand All @@ -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
Expand All @@ -48,5 +48,5 @@ export default Mixin.create({
return this.move(e);
},

move: K
move() {}
});
7 changes: 3 additions & 4 deletions addon/mixins/translate3d-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const {
RSVP: { Promise },
computed,
inject,
run,
K
run
} = Ember;

/**
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a4acae4

Please sign in to comment.