Skip to content

Commit

Permalink
POST_INIT do not take arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode committed Aug 8, 2016
1 parent b6e2712 commit e0680ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-views/lib/mixins/view_support.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export default Mixin.create({
@private
*/
[POST_INIT]: function() {
this._super(...arguments);
this._super();

assert(
`You must call \`this._super(...arguments);\` when implementing \`init\` in a component. Please update ${this} to call \`this._super\` from \`init\`.`,
Expand Down

0 comments on commit e0680ca

Please sign in to comment.