Ember.empty has been renamed to Ember.isEmpty

This commit is contained in:
Robin Ward
2014-12-10 13:15:30 -05:00
parent eb14a6d294
commit 61101736cb
13 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@ export default Ember.ObjectController.extend({
saveDisabled: function() {
if (this.get('saving')) { return true; }
if ((!this.get('allow_blank')) && Ember.empty(this.get('value'))) { return true; }
if ((!this.get('allow_blank')) && Ember.isEmpty(this.get('value'))) { return true; }
return false;
}.property('saving', 'value'),