-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Parent scope seems to be wrong #93
Labels
Comments
This should be a different issue introduced in 0.19. I'm working on a fix. |
sunng87
added a commit
that referenced
this issue
Jul 26, 2016
Signed-off-by: Ning Sun <[email protected]>
This should be fixed in baf077b . I just added a test case for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The template is:
And the json:
In http://tryhandlebarsjs.com/ I get the following output:
But with this library I get the following output:
As far as I can observe it skips one scope. I.e. I can access
../departments
from the internal{{#each employees}}
loop (but I would expect it to be../../departments
). And I can't access the scope of the{{#each departments}}
loop (so the../salary
is empty)The text was updated successfully, but these errors were encountered: