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

Provide fallback lookup for partials. #23

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Feb 1, 2014

Previously, a file named blamo/snork/_blah-zorz would not be able to be looked up. This is problematic since Ember looks up partials with the last part of the name prefixed with an underscore. This is then normalized by our custom normalize function before lookup (into `blamo/snork/-blah-zorz'), thus causing a miss on our filename.

A deprecation notice will be logged explaining the issue (and how to correct it).

Closes #22.

Previously, a file named `blamo/snork/_blah-zorz` would not be able to
be looked up. This is problematic since Ember looks up partials with the
last part of the name prefixed with an underscore. This is then
normalized by our custom `normalize` function before lookup (into
`blamo/snork/-blah-zorz'), thus causing a miss on our filename.

A deprecation notice will be logged explaining the issue (and how to
correct it).
@stefanpenner
Copy link
Contributor

LGTM

@stefanpenner
Copy link
Contributor

not to travis, rerunning

stefanpenner added a commit that referenced this pull request Feb 1, 2014
@stefanpenner stefanpenner merged commit 7f0b513 into ember-cli:master Feb 1, 2014
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.

Partial resolution is ambiguous
2 participants