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

[Safe for 2.0] Update initializer blueprints. #4841

Closed

Conversation

nathanhammond
Copy link
Contributor

The initializer API has changed as of 2.X, the blueprints need to be updated to address those changes. See also: emberjs/ember.js#10179

@@ -16,7 +15,7 @@ module('<%= friendlyTestName %>', {

// Replace this with your real tests.
test('it works', function(assert) {
initialize(registry, application);
<%= classifiedModuleName %>Initializer.initialize(application);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The application is only passed as the first argument in Ember 2.1, but master is tracking 2.0.

@rwjblue
Copy link
Member

rwjblue commented Sep 13, 2015

👍 on fixing the context by invoking the initializer properly, but we cannot change the argument info until master is targeting Ember 2.1.

@nathanhammond nathanhammond changed the title Update initializer blueprints. [Ember 2.1] Update initializer blueprints. Sep 13, 2015
@nathanhammond
Copy link
Contributor Author

I've been living in the coal mine for too long... splitting into two PRs, one to wait for 2.1, this one to land.

@nathanhammond nathanhammond changed the title [Ember 2.1] Update initializer blueprints. [Safe for 2.0] Update initializer blueprints. Sep 13, 2015
@stefanpenner
Copy link
Contributor

same comment as -> #4842 (comment)

@rwjblue
Copy link
Member

rwjblue commented Sep 13, 2015

@stefanpenner - We should still update them here so that we have an up to date version that gets extracted.

@homu
Copy link
Contributor

homu commented Oct 2, 2015

☔ The latest upstream changes (presumably #4920) made this pull request unmergeable. Please resolve the merge conflicts.

@nathanhammond
Copy link
Contributor Author

Closing in favor of fixing forward #4920 to address emberjs/ember.js#10179.

@nathanhammond nathanhammond deleted the initializer-blueprint branch October 2, 2015 23:13
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.

4 participants