Skip to content

Commit

Permalink
Reversed args in Ember.Observer
Browse files Browse the repository at this point in the history
emberjs/ember.js@8ecc3bd
(cherry picked from commit 8fb1166)
  • Loading branch information
BBLN authored and bmac committed Jul 21, 2015
1 parent 3d40f37 commit 82bf13b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default RecordArray.extend({
manager.updateFilter(this, get(this, 'type'), get(this, 'filterFunction'));
},

updateFilter: Ember.observer(function() {
updateFilter: Ember.observer('filterFunction', function() {
Ember.run.once(this, this._updateFilter);
}, 'filterFunction')
})
});

0 comments on commit 82bf13b

Please sign in to comment.