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

Register default container on fallback registry. #10315

Merged
merged 1 commit into from
Jan 30, 2015

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Jan 30, 2015

This ensures that all registries will have a reference to the first
container created that references them.

This ensures that deprecated access to lookup and lookupFactory
on the registry will be proxied to the first container created for a
registry. This avoids breaking compatibility with Ember 1.x
initializers.

[Fixes #10313]

This ensures that all registries will have a reference to the first
container created that references them.

This ensures that deprecated access to `lookup` and `lookupFactory`
on the registry will be proxied to the first container created for a
registry. This avoids breaking compatibility with Ember 1.x
initializers.

[Fixes emberjs#10313]
rwjblue added a commit that referenced this pull request Jan 30, 2015
Register default container on fallback registry.
@rwjblue rwjblue merged commit e0f340f into emberjs:master Jan 30, 2015
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.

Create a container on the registry (with registry.container()) before calling lookupFactory.
2 participants