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

[BUGFIX beta] Avoid _lazyInjections in production builds. #13590

Merged
merged 1 commit into from
Jun 3, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 2, 2016

This is only used to trigger an assertion, and is quite slow (it iterates 200+ properties on every factory looked up). There is no need to do this in production builds...

@rwjblue
Copy link
Member Author

rwjblue commented Jun 3, 2016

/cc @krisselden

@rwjblue rwjblue force-pushed the avoid-lazy-injections-in-prod branch from 83c9888 to e9c371a Compare June 3, 2016 01:34
@rwjblue rwjblue merged commit c65f57c into emberjs:master Jun 3, 2016
@rwjblue rwjblue deleted the avoid-lazy-injections-in-prod branch June 3, 2016 02:17
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.

1 participant