Skip to content

Commit

Permalink
prefer ES6 spread
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Apr 18, 2015
1 parent 6c3e268 commit 34fa990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-views/lib/views/each.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default CollectionView.extend(_Metamorph, {
},

destroy() {
if (!this._super.apply(this, arguments)) { return; }
if (!this._super(...arguments)) { return; }

if (this._arrayController) {
this._arrayController.destroy();
Expand Down

0 comments on commit 34fa990

Please sign in to comment.