Skip to content

Conversation

@stefanpenner
Copy link
Contributor

No description provided.

@rwjblue
Copy link
Member

rwjblue commented Jun 10, 2016

👍

@rwjblue
Copy link
Member

rwjblue commented Jun 10, 2016

Can we change the message RE: the init deprecation though (here)?

I'd prefer if it suggested the backwards compatible version:

Please call `this._super.init && this._super.init.apply(this, arguments);`

);
options.init = forceSuperWithoutApply(options.init);
} else {
deprecation(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// this._super.init && is to make sure that the deprecation message works for people who are writing addons supporting before 2.6.

@nathanhammond
Copy link
Contributor

LGTM, can you add a comment?

@stefanpenner stefanpenner force-pushed the enable-warn-deprecation-by-default branch from 8e544b7 to 8458b87 Compare June 14, 2016 16:08
@rwjblue
Copy link
Member

rwjblue commented Jun 14, 2016

LGTM

@nathanhammond nathanhammond merged commit ab80139 into master Jun 14, 2016
@nathanhammond nathanhammond deleted the enable-warn-deprecation-by-default branch June 14, 2016 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants