Juliusz Kopczewski
Juliusz Kopczewski
I think this is a really good idea! And it looks like it could be implemented fairly easily.
I should probably add: when I remove `{{#group}}`, everything works fine, the tree structure is rendered as it should.
Here's a jsfiddle demonstrating the problem: Compare: http://jsfiddle.net/CbmmM/2/ and http://jsfiddle.net/CbmmM/4/ Once {{#group}} block is added, I get an exception undefined is not a function somewhere inside the {{#with}} tag.
Actually, it seems it doesn't work even when no {{#with}} block is used. Basically, the variable bound by the loop becomes inaccessible. Doesn't cause an exception though.
The {{#each}} tag however still iterates over the values.
Any chance of having this corrected? I would be willing to contribute a patch if I had a clue how the feature works.