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

Fixes #396. Use updated ember lookup syntax. #406

Merged
merged 2 commits into from
Jul 6, 2016

Conversation

dunnkers
Copy link
Contributor

@dunnkers dunnkers commented Jul 4, 2016

Updated deprecated container.lookup calls to make use of the favoured
getOwner() function. Users of Ember 2.3 and above will no longer see
deprecation warnings about this.

Updated deprecated `container.lookup` calls to make use of the favoured
`getOwner()` function. Users of Ember 2.3 and above will no longer see
deprecation warnings about this.
@dunnkers dunnkers closed this Jul 4, 2016
@dunnkers dunnkers reopened this Jul 5, 2016
@tstirrat tstirrat merged commit 6e43b12 into FirebaseExtended:master Jul 6, 2016
@redbmk
Copy link

redbmk commented Sep 23, 2016

I just noticed this warning and for some reason Ember suggests using the "private" function _lookupFactory, but the public method resolveRegistration gives the same result:

getOwner(application).resolveRegistration('config:environment')

Just thinking using a public method might be safer in the long run.

http://emberjs.com/api/classes/RegistryProxyMixin.html#method_resolveRegistration
http://stackoverflow.com/questions/33909015/this-container-lookupfactory-no-longer-works-in-ember2-2-0

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.

5 participants