summaryrefslogtreecommitdiffstats
path: root/spec/basic.js
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest eslintkpdecker2015-09-011-2/+2
|
* Fix escaping of non-javascript identifierskpdecker2015-08-011-2/+6
| | | | The ‘ character would cause invalid javascript to be generated as it was not properly escaped. Switching to JSON.stringify safely handles all potential unescaped cases.
* Add tests for string contextskpdecker2015-05-061-0/+4
| | | | Fixes #1013
* Add full support for es6kpdecker2015-04-161-118/+119
| | | | | | | | Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions. Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules. Fixes #855 Fixes #993
* Fix IE test freakoutkpdecker2015-04-141-2/+2
|
* Allow this references in literal statementskpdecker2015-04-141-4/+15
| | | Fixes #967
* Allow undefined and null in helper nameskpdecker2015-04-131-0/+14
|
* Add undefined and null literal supportkpdecker2015-04-071-0/+10
| | | | | This adds the UndefinedLiteral and NullLiteral to AST. Fixes #990
* Handle all potential literal valueskpdecker2015-02-091-12/+23
| | | Adds support for literal helper names in a few missing cases such as block expressions and subexpressions.
* Transform literals to path expressions in mustache nodesMarcio Junior2015-02-081-7/+9
|
* Test compilation of literal values in mustachesMarcio Junior2015-02-081-0/+16
|
* Add tests for partial comment whitespace controlkpdecker2015-01-171-3/+7
|
* Allow whitespace control on commentskpdecker2014-11-021-0/+3
| | | | | This changes the call signature for the CommentNode constructor, which is a potentially breaking change for AST users. Fixes #866
* Render false literal as “false”kpdecker2014-08-251-0/+8
| | | Fixes #827
* Fix missing parameters for pathed mustacheskpdecker2014-01-171-0/+28
| | | Fixes #658
* Use shouldThrow helper for test assertskpdecker2013-12-231-4/+5
|
* Protect context-lookups from undefined valueskpdecker2013-11-031-0/+6
| | | | Fixes #166 Fixes #587
* Merge branch 'fix-issue-599' of github.com:laurie71/handlebars.js into ↵kpdecker2013-10-141-0/+12
|\ | | | | | | laurie71-fix-issue-599
| * Test cases for #599Laurie Harper2013-08-281-0/+12
| |
* | Fix "\\" escapingDaniel Marcotte2013-10-131-0/+2
| | | | | | | | | | Previously, "\\{{foo}}" would only result in the desired "\fooValue" if it was at the beginning of the file or immediately after a close stache.
* | Fix test runners under nodekpdecker2013-10-091-1/+1
| |
* | Make the Handlebars environment into an objectYehuda Katz2013-07-261-0/+6
|/ | | | | | | | 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.
* Refactor qunit unit testskpdecker2013-06-011-0/+162
Allows for testing node, browser, and precompiled modes in the node tests. Also reorganizes the qunit spec file to provide better organization.