Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Boolean literals can be passed to mustaches | Marcio Junior | 2015-02-08 | 1 | -0/+4 |
| | |||||
* | Allow blockParams on chained inverse statements | kpdecker | 2014-11-29 | 1 | -0/+3 |
| | |||||
* | Move Jison parsing out of AST into helpers | kpdecker | 2014-11-28 | 1 | -1/+12 |
| | |||||
* | Rename AST objects to match type names | kpdecker | 2014-11-28 | 1 | -1/+1 |
| | |||||
* | Replace DataNode and IdNode with PathNode | kpdecker | 2014-11-26 | 1 | -44/+44 |
| | | | This is a breaking change for string mode users as there is no longer a distinct type for data parameters. Instead data consumers should look for the @ prefix value. | ||||
* | Update statement node ASTs | kpdecker | 2014-11-26 | 1 | -0/+2 |
| | |||||
* | Add parser support for block params | Martin Muñoz | 2014-11-11 | 1 | -1/+9 |
| | |||||
* | Merge branch 'remove-block-mustache' of github.com:mmun/handlebars.js into ↵ | kpdecker | 2014-11-08 | 1 | -12/+12 |
|\ | | | | | | | | | | | | | | | mmun-remove-block-mustache Conflicts: lib/handlebars/compiler/helpers.js spec/parser.js | ||||
| * | Simplify BlockNode by removing intermediate MustacheNode | Martin Muñoz | 2014-11-02 | 1 | -11/+11 |
| | | |||||
* | | Implement parser for else chaining of helpers | kpdecker | 2014-10-27 | 1 | -2/+8 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows users to chain multiple helpers together using their inverse callbacks. I.e. ``` {{#if foo}} {{else if bar}} {{else}} {{/if}} ``` The control flow here effectively causes the helpers to be nested. The above is actually syntactic sugar for this: ``` {{#if foo}} {{else}} {{#if bar}} {{else}} {{/if}} {{/if}} ``` Any helper may be used in this manner, the only requirement is they support normal calls and inverse calls. Introduces a breaking change in that `{{else foo}}` may no longer be used as a root level operator. Instead `{{^foo}}` must be used. Fixes #72. | ||||
* | Merge branch 'refactor-parser' of github.com:mmun/handlebars.js into ↵ | kpdecker | 2014-08-23 | 1 | -3/+6 |
|\ | | | | | | | | | | | | | | | | | mmun-refactor-parser Conflicts: lib/handlebars/compiler/ast.js spec/ast.js src/handlebars.yy | ||||
| * | Refactor blocks, programs and inverses | Martin Muñoz | 2014-07-29 | 1 | -2/+2 |
| | | |||||
* | | Increase test coverage a touch | kpdecker | 2014-08-14 | 1 | -1/+1 |
| | | |||||
* | | Track root status in ProgramNode constructor | kpdecker | 2014-08-12 | 1 | -1/+1 |
|/ | |||||
* | Add support for depthed resolution of data fields | kpdecker | 2014-02-09 | 1 | -0/+4 |
| | |||||
* | Make raw blocks operate like blocks | kpdecker | 2014-02-09 | 1 | -0/+4 |
| | |||||
* | Allow decimal number values | kpdecker | 2014-01-17 | 1 | -4/+4 |
| | | | Fixes #472 | ||||
* | Add partial hash parser support | kpdecker | 2014-01-17 | 1 | -0/+8 |
| | |||||
* | Move away from should asserts to internal | kpdecker | 2013-12-23 | 1 | -58/+59 |
| | | | | This is needed as neither Sinon nor Chai support in-browser testing under IE. | ||||
* | Simplify inverse only block case | kpdecker | 2013-07-30 | 1 | -2/+2 |
| | |||||
* | Prevent nonsensical root {{^}} | kpdecker | 2013-07-24 | 1 | -0/+3 |
| | |||||
* | Refactor qunit unit tests | kpdecker | 2013-06-01 | 1 | -4/+4 |
| | | | | | | Allows for testing node, browser, and precompiled modes in the node tests. Also reorganizes the qunit spec file to provide better organization. | ||||
* | Convert parser and tokenizer tests to javascript | kpdecker | 2013-06-01 | 1 | -0/+170 |