summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Realign lexer actionsYehuda Katz2011-12-271-23/+23
|
* Literal square-bracket path segments cannot have ] in them. TODO: Allow ↵Yehuda Katz2011-12-271-1/+1
| | | | escaped path segments.
* Fix support for RhinoChris Broadfoot2011-12-201-1/+1
|
* Escaping a '/' in the ID regex. This was preventing handelbars.js from ↵Mike Moulton2011-11-221-1/+1
| | | | loading in Rhino.
* Got simple literal expressions added into paths.Alan Johnson2011-09-021-0/+1
|
* Add BOOLEAN supporttomhuda2011-06-012-1/+5
|
* Add support for INTEGER expressionstomhuda2011-06-012-0/+3
|
* support "$" as an ID character: google has a bunch of json that has $t, etc ↵Schuyler Duveen2011-05-131-1/+1
| | | | values
* Add support for line-breaks in mustacheswycats2011-05-121-1/+1
|
* Merge pull request #69 from rgrove/allow-hyphens.Yehuda Katz2011-05-031-1/+1
|\ | | | | Allow ids to contain hyphens. Fixes #36.
| * Allow ids to contain hyphens. Fixes #36.Ryan Grove2011-04-281-1/+1
| | | | | | | | | | Previously, a mustache like {{foo-bar}} would generate a parse error, which was a departure from the behavior of other Mustache implementations.
* | Support multi-line comments.Ryan Grove2011-04-181-1/+1
|/ | | | | {{! Like this. }}
* Add Hash arguments to simple mustaches (TODO: add Hash args to block helpers)tomhuda2011-03-041-8/+8
|
* Add support for hash args in the tokenizer and parsertomhuda2011-03-032-2/+19
|
* Add support for {{foo.bar.baz}}tomhuda2011-03-031-2/+4
|
* Put null byte on content match instead of [^]Alan Johnson2011-01-251-2/+2
|
* IE doesn't like negated empty character classes.David Stone2011-01-191-2/+2
| | | Changing this to match the "dot" character class wouldn't work, though, because . doesn't match invisible whitespace like newlines, so we need to include those specifically.
* arrrrgwycats2011-01-101-2/+2
|
* Fix for shitty JS regex engines.wycats2011-01-101-2/+2
|
* Restructure things more simplywycats2010-12-291-0/+1
|
* Switch to Jison's lexer.Zach Carter2010-12-142-1/+28
|
* Finish compatibility with the old handlebars:wycats2010-12-031-3/+3
| | | | | | * foo"bar" is an invalid param * {{foo}}bar{{/baz}} is invalid * fix a number of issues with inverse sections * add partials
* Inverse should really be its own node, as it has totally different runtime ↵wycats2010-12-031-2/+2
| | | | semantics
* Add support for inverted sections in the parserwycats2010-12-031-1/+6
|
* Allow empty blocks.wycats2010-12-021-0/+1
|
* Fix a number of outstanding issues:wycats2010-12-021-0/+3
| | | | | | | | | | | | * {{}} escape their contents, {{{}}} and {{& }} do not * Add support in the parser, tokenizer and AST for partials with context (support is still not there in the runtime) * Fix some inconsistencies with the old behavior involving the correct printing of null and undefined * Add Handlebars.Exception * Fixed an issue involving ./foo and this/foo * Fleshed out helperMissing in the specs (this will be moved out into handlebars proper once registerHelper and registerPartial are added)
* Make the ID node capable of handling pathswycats2010-11-251-7/+12
| | | | TODO: handle invalid paths in the tokenizer or parser TODO: invalidate "{{ foo/ bar }}"
* Initial commit. Note that I'm using CommonJS modules and node purely to help ↵wycats2010-11-251-0/+65
me develop this. If this ends up being useful, I will likely distribute the entire package as a single JS file for easier consumption in the browser.