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

Refactor Ember.Application.initializer to fix initializers bleeding or not running #3516

Merged
merged 1 commit into from
Oct 5, 2013

Conversation

lukemelia
Copy link
Member

Previously, Ember.Application.initializers was implemented as a
concatenated property, which is works at class definition and instance
creation time, but not when the field is mutated, which is what
Ember.Application.initializer was doing prior to this commit.

Also reverted concatenatedProperties change, which had been added to try
unsuccessfully to address this issue.

Previously, `Ember.Application.initializers` was implemented as a
concatenated property, which is works at class definition and instance
creation time, but not when the field is mutated, which is what
`Ember.Application.initializer` was doing prior to this commit.

Also reverted concatenatedProperties change, which had been added to try
unsuccessfully to address this issue.
@rwjblue
Copy link
Member

rwjblue commented Oct 5, 2013

As I mentioned in the comments of f1ce398 here reverting the prior stop-gap solution is causing the builds to fail (due to a leaking initializer from here and the changes here which disallows registering undefined factories).

Where does this PR stand? Ready to go, or does it need further thought/review?

In the meantime we need to fix the builds by putting 0158de0 back in place or something...

@stefanpenner
Copy link
Member

i'll merge now.

@stefanpenner stefanpenner merged commit 4e317ff into emberjs:master Oct 5, 2013
@lukemelia lukemelia deleted the initializers-redux branch October 7, 2013 01:42
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.

3 participants