-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX release] Fix legacy addon deprecations
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.
- Loading branch information
Godhuda
committed
Mar 1, 2016
1 parent
57d8c36
commit 59e9045
Showing
4 changed files
with
112 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters