Skip to content

Commit

Permalink
Work without prototype extension.
Browse files Browse the repository at this point in the history
Addons shouldn't rely on prototype extensions.
related to ember-cli/ember-cli#3443
  • Loading branch information
Arek Turlewicz committed Mar 10, 2016
1 parent 6dd5f21 commit 82a58fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/spin-button.js
Expand Up @@ -80,7 +80,7 @@ export default Ember.Component.extend({
}
},

inFlightDidChange: function() {
inFlightDidChange: Ember.observer("inFlight", function() {
var element = this.get('element');
if (!element) { return; }

Expand All @@ -97,7 +97,7 @@ export default Ember.Component.extend({
}else{
this.setEnabled();
}
}.observes('inFlight'),
}),

createSpinner: function(element) {
if(!this._spinner) {
Expand Down

0 comments on commit 82a58fc

Please sign in to comment.