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

Fix templates relative lookup #2

Merged
merged 1 commit into from
Mar 4, 2014

Conversation

cray0000
Copy link
Member

When specified template name has more then one section relative lookup used only the last section of a name which was leading to improper behavior.

This is related to this issue:
derbyjs/derby#381

nateps added a commit that referenced this pull request Mar 4, 2014
@nateps nateps merged commit 1f91231 into derbyjs:master Mar 4, 2014
@nateps
Copy link
Contributor

nateps commented Mar 4, 2014

Thanks! This is useful. Would you also mind writing a test for the change?

@nateps
Copy link
Contributor

nateps commented Mar 4, 2014

I added unit tests for more basic view loading, so you can just add another test there:
https://github.com/codeparty/derby-templates/blob/master/test/templates.mocha.js

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.

2 participants