mustache / spec

The Mustache spec.
MIT License
364 stars 71 forks source link

Add spec for leading dot #92

Open tomek-he-him opened 9 years ago

tomek-he-him commented 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.

tomek-he-him commented 9 years ago

By the way, this PR is just an application of the original diff by @bobthecow.

tomek-he-him commented 7 years ago

Closing to remove clutter 🙂

Feel free to open if you think this is mergeable.