-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX beta] Remove initializer deprecations for Ember 2.1.0+.
As of Ember 2.1.0 initializers should receive a single argument (the application), and that object has most of the public API of the previous first argument (`register`, `optionsForType`, etc). To support older initializers, any initializer written that expects 2 arguments receives a deprecation. This fixes the argument arity to prevent deprecations.
- Loading branch information
Showing
2 changed files
with
17 additions
and
12 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