Open tomek-he-him opened 9 years ago
Fixes https://github.com/mustache/spec/issues/52
The feature proposed there is extremely useful. It’s the only way to DRY out templates which deal with recursive data (like here: http://stackoverflow.com/a/13592747/2816199). The new syntax should also allow more radical perf optimizations.
By the way, this PR is just an application of the original diff by @bobthecow.
Closing to remove clutter 🙂
Feel free to open if you think this is mergeable.
Fixes https://github.com/mustache/spec/issues/52
The feature proposed there is extremely useful. It’s the only way to DRY out templates which deal with recursive data (like here: http://stackoverflow.com/a/13592747/2816199). The new syntax should also allow more radical perf optimizations.