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

Use public API for container/registry when possible. #3912

Merged
merged 1 commit into from
Nov 11, 2015

Commits on Nov 10, 2015

  1. Use public API for container/registry when possible.

    Ember 2.3 will include `Ember.getOwner` and `Ember.setOwner` as public
    API's to access various registry and container features. As of Ember
    2.3, using `this.container` in any instance looked up from the container
    will issue a deprecation (instructing the user to use
    `Ember.getOwner(this)` instead).
    
    This PR fixes all deprecations against ember#canary channel by adding a
    simplified polyfill so that the internal code can always operate with
    the `Ember.getOwner` API.
    rwjblue committed Nov 10, 2015
    Configuration menu
    Copy the full SHA
    969fddc View commit details
    Browse the repository at this point in the history