Raymond Lam
5acafd33c6
Fix custom tags by rolling back #643 & #664 ( #670 )
Pull requests #643 and #664 together fix the issue reported in issue #617, but the change in behavior is causing semvers concerns. See issue #669 . Therefore, roll back #643 and #664 and later reintroduce in next planned major release (v3.0).
Fixes #669
pirms 7 gadiem
Ashinoko
28ca619a24
fix bug: cache actually not working ( #664 )
Resolve issue #663 and add test.
pirms 7 gadiem
raymond.lam
198a5657be
fix typo in parse-caching/Mustache.tags test
pirms 8 gadiem
raymond.lam
24653984d0
Writer.prototype.parse to cache by tags in addition to template string
pirms 9 gadiem
Michael Jackson
b114120741
Major reorganization and cleanup
pirms 12 gadiem
Michael Jackson
eb6ceb8b14
Fixed rendering error when using nested higher-order sections
Fixes #274
pirms 13 gadiem
Michael Jackson
eee8d695fc
Better error reporting
pirms 13 gadiem
Michael Jackson
3fea961f06
Use mocha for testing
pirms 13 gadiem
Michael Jackson
e0edb356ae
Fail gracefully on empty template
Fixes #267
pirms 13 gadiem
Michael Jackson
0ea95746a8
Allow auto-loading of partials
Fixes #247
pirms 13 gadiem
Michael Jackson
a5dbb708d7
Fix text token offsets
Text tokens now accurately reflect their content's exact position
in the original template.
pirms 13 gadiem
Michael Jackson
18e797d47e
Coerce { token types to &
pirms 13 gadiem
Michael Jackson
3fb61fc056
More concise token format
pirms 13 gadiem
Michael Jackson
be4fd1cc29
Text passed to higher-order sections unrendered
Fixes #187
pirms 13 gadiem
Michael Jackson
fbc66a8140
Another rewrite
- Cleaner separation of responsibilities in the code between
scanning, parsing, compiling, and rendering functions.
- Much faster
pirms 14 gadiem