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

Modify service blueprint with more explicit initializer and injection #1493

Merged
merged 1 commit into from
Jul 26, 2014

Conversation

jgwhite
Copy link
Contributor

@jgwhite jgwhite commented Jul 26, 2014

The injection will now be a property called fooService and the initializer will be named foo-service.

Addresses #1335

/fao @stefanpenner @kimroen

@kimroen
Copy link
Contributor

kimroen commented Jul 26, 2014

I just noticed that the initializer injects it as service:<%= camelizedModuleName %>, but the test's moduleFor fetches it as service:<%= dasherizedModuleName %>. While not directly related to this change, is that intentional?

@jgwhite
Copy link
Contributor Author

jgwhite commented Jul 26, 2014

@kimroen no, looks like a mistake. Good spot!

Fix service blueprint container reference error

Add CHANGELOG entry for ember-cli#1493
stefanpenner added a commit that referenced this pull request Jul 26, 2014
Modify service blueprint with more explicit initializer and injection
@stefanpenner stefanpenner merged commit decddcf into ember-cli:master Jul 26, 2014
@jgwhite jgwhite deleted the service-blueprint-suffix branch July 26, 2014 15:39
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