handlebars.java
handlebars.java copied to clipboard
Found issue to get @first, @last and @index in nested each.
I encounter a problem where @last, @first and @index behaves differently inside an each as follows:
Scenario: {{#each hash-one}} ..... .....// if I use @index,@last and @first before the second each I m getting the correct value. {{#each hash-two}}...{{/each}} ..... .....// if I use @index,@last and @first after the second each I m getting nothing.. {{/each}}
Please let me know if I am doing something wrong.