Kevin Dew
|
ba04216161
|
Indent Partials
As referenced in this issue:
https://github.com/janl/mustache.js/issues/562
Partials aren't indented as per the spec:
https://github.com/mustache/spec/blob/master/specs/partials.yml#L13-L15
This adds indentation tracking for partials and applies them to the
first instance of a partial on a line (to not indent inline partials
which would violate a different part of the spec).
|
9 yıl önce |
Michael Jackson
|
b114120741
|
Major reorganization and cleanup
|
12 yıl önce |
Michael Jackson
|
eb6ceb8b14
|
Fixed rendering error when using nested higher-order sections
Fixes #274
|
13 yıl önce |
Michael Jackson
|
eee8d695fc
|
Better error reporting
|
13 yıl önce |
Michael Jackson
|
3fea961f06
|
Use mocha for testing
|
13 yıl önce |
Michael Jackson
|
e0edb356ae
|
Fail gracefully on empty template
Fixes #267
|
13 yıl önce |
Michael Jackson
|
0ea95746a8
|
Allow auto-loading of partials
Fixes #247
|
13 yıl önce |
Michael Jackson
|
a5dbb708d7
|
Fix text token offsets
Text tokens now accurately reflect their content's exact position
in the original template.
|
13 yıl önce |
Michael Jackson
|
18e797d47e
|
Coerce { token types to &
|
13 yıl önce |
Michael Jackson
|
3fb61fc056
|
More concise token format
|
13 yıl önce |
Michael Jackson
|
be4fd1cc29
|
Text passed to higher-order sections unrendered
Fixes #187
|
13 yıl önce |
Michael Jackson
|
fbc66a8140
|
Another rewrite
- Cleaner separation of responsibilities in the code between
scanning, parsing, compiling, and rendering functions.
- Much faster
|
14 yıl önce |