Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Recursive mustache template ends with "Maximum call stack size exceeded" #723
Here is an updated example that works: http://jsfiddle.net/R5Vbw/2/
The reason is that if Mustache doesn't find it on the current object it walk up to the parent and tries to look it up there.
This is however an issue that we are hoping to solve in 2.1 (probably by prefixing with
Another explanation for myself:
This fails because
There is not much we can do to prevent this.
@daffl do we have an issue for