kpdecker
cb51b82b8e
Add support for dynamic partial names
...
Uses the subexpression syntax to allow for dynamic partial lookups. Ex:
```
{{> (helper) }}
```
Fixes #933
2015-01-18 13:23:45 -06:00
kpdecker
2a4819d75c
Update statement node ASTs
2014-11-26 19:04:18 -06:00
kpdecker
4a2afa9d02
Propagate options for client compiled partials
...
Fixes #901
2014-11-08 19:06:40 -06:00
Kevin Decker
b5f03c95ab
Merge pull request #870 from max-b/master
...
Registering undefined partial throws exception.
2014-11-08 17:43:41 -06:00
kpdecker
632fadcea3
Add preventIndent option for partials
...
This disables the standalone partial indent behavior required by the Mustache spec and allows for users to utilize partials in the same manner as under 1.x.
Fixes #858
2014-11-02 12:19:56 -06:00
Maxb
b87e601063
Fixing indentation in spec/partials.js
2014-09-19 11:46:02 -07:00
Maxb
a0e2e200d9
Registering undefined partial throws exception.
2014-09-19 11:35:16 -07:00
kpdecker
cc5de5df3c
Fix compat partial exec without data
2014-08-15 00:38:23 -05:00
kpdecker
9f07a34955
Additional test coverage
2014-08-15 00:05:37 -05:00
kpdecker
cb22ee5681
Increase test coverage a touch
2014-08-14 12:25:35 -05:00
kpdecker
9f8110fe15
Implement partial recursive lookup
2014-08-14 00:29:25 -05:00
kpdecker
0edce6e1d1
Inherit compat flag for partials
2014-08-14 00:29:25 -05:00
kpdecker
f2a2914d4f
Add additional tests for standalone partials
2014-08-12 15:38:50 -05:00
kpdecker
e290ec24f1
Test more concrete behavior in partial hash test
2014-01-17 17:51:52 -06:00
kpdecker
45ae86a248
Implement partial hash evaluation
2014-01-17 17:51:52 -06:00
kpdecker
93fb25c702
Handle empty responses from partials
...
Fixes #675
2013-12-23 15:33:33 -06:00
kpdecker
0cf5657c43
Use shouldThrow helper for test asserts
2013-12-23 02:19:09 -06:00
kpdecker
ded0a1617f
Protect context-lookups from undefined values
...
Fixes #166
Fixes #587
2013-11-03 10:58:37 -06:00
Yehuda Katz
d33408fcbd
Move more testing mutations into the environment
2013-07-26 17:18:56 +00:00
kpdecker
adda0569e0
Refactor qunit unit tests
...
Allows for testing node, browser, and precompiled modes in the node
tests. Also reorganizes the qunit spec file to provide better
organization.
2013-06-01 23:45:43 -05:00