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

container.lookup is removed in Ember.js beta 4 and up #607

Closed
mattma opened this issue Aug 11, 2015 · 1 comment
Closed

container.lookup is removed in Ember.js beta 4 and up #607

mattma opened this issue Aug 11, 2015 · 1 comment

Comments

@mattma
Copy link

mattma commented Aug 11, 2015

I am getting the error below

DEBUG: -------------------------------
DEBUG: Ember             : 2.0.0-beta.5
DEBUG: Ember Data        : 2.0.0-beta.1
DEBUG: jQuery            : 2.1.4
DEBUG: Ember Simple Auth : 0.8.0
DEBUG: -------------------------------
simple-auth.amd.js:375Uncaught TypeError: container.lookup is not a function

I tried to narrow down the error source, and confirmed it is not an Ember error.

Ember has been deprecated container.lookup at 2.0.0-beta.5. Please, see the changelog. Check out the last item in the list. #11897 [CLEANUP] Remove globals lookup from templates.

I have tested in 2.0.0-beta.5 and 2.0.0-beta.4. it does not work.
and in 2.0.0-beta.3, it works fine. Since container.lookup is a function.

There are several places in simple-auth.amd.js uses container.loopup. Is it on your roadmap to update to the latest Ember?

@marcoow
Copy link
Member

marcoow commented Aug 11, 2015

see #602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants