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
kpdecker
3702efee5b
Merge branch 'fix-issue-599' of github.com:laurie71/handlebars.js into laurie71-fix-issue-599
2013-10-14 20:44:42 -05:00
Daniel Marcotte
468fa8b6dd
Fix "\\" escaping
...
Previously, "\\{{foo}}" would only result in the desired "\fooValue" if
it was at the beginning of the file or immediately after a close stache.
2013-10-13 09:03:02 -04:00
kpdecker
3b0a3ca1b2
Fix test runners under node
2013-10-09 03:22:05 -07:00
Laurie Harper
03ef3d4258
Test cases for #599
2013-08-28 12:51:54 -04:00
Yehuda Katz
5f664dd78b
Make the Handlebars environment into an object
...
The idea is that the environment wraps up the mutable stuff in
Handlebars (like the helpers) and that you could theoretically create a
new one at any time and pass it in to Handlebars.template.
Every test makes a new environment and uses it in template compilation.
2013-07-26 16:50:37 +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