Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX release] Fix legacy addon deprecations #13030

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

wycats
Copy link
Member

@wycats wycats commented Mar 1, 2016

The signature of Ember.deprecate is message, test, options,
where test is If falsy, the deprecation will be displayed. Here,
we did the opposite, causing the deprecation message to be shown only
when the addons are NOT installed.

The signature of `Ember.deprecate` is `message`, `test`, `options`,
where `test` is `If falsy, the deprecation will be displayed.` Here,
we did the opposite, causing the deprecation message to be shown only
when the addons are NOT installed.

This commit fixes the issue, and also moved the deprecation to first-
boot. This gives users (and our test harness) a chance to register
custom handlers before we issue the warning.

Also added tests.
@wycats wycats force-pushed the fix-legacy-addon-deprecations branch from c7d0695 to 59e9045 Compare March 1, 2016 02:32
rwjblue added a commit that referenced this pull request Mar 1, 2016
[BUGFIX release] Fix legacy addon deprecations
@rwjblue rwjblue merged commit 036ff2f into master Mar 1, 2016
@rwjblue rwjblue deleted the fix-legacy-addon-deprecations branch March 1, 2016 02:42
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.

2 participants