kpdecker
3cf47abe19
Include error info when throwing type error
2015-01-17 19:19:30 -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
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
c98613b711
Implement recursive field lookup in compat mode
...
Provides the mustache behavior of recursive lookup without the use of depthed paths.
Note that this does incur a fairly dramatic performance penalty for depthed queries.
2014-08-13 20:46:42 -05:00
kpdecker
f4af8e06b6
Allow compat flag in test specs
2014-08-11 20:10:12 -05:00
kpdecker
905f99b18c
Minor test cleanup
2014-08-11 20:08:29 -05:00
kpdecker
4942324250
Move away from should asserts to internal
...
This is needed as neither Sinon nor Chai support in-browser testing under IE.
2013-12-23 02:19:09 -06:00
kpdecker
0cf5657c43
Use shouldThrow helper for test asserts
2013-12-23 02:19:09 -06: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