Yehuda Katz
c79c761460
Add support for escaping mustaches
2011-12-27 17:04:59 -08:00
Yehuda Katz
932e2970ad
Realign lexer actions
2011-12-27 01:23:28 -08:00
Yehuda Katz
373d10edb1
Literal square-bracket path segments cannot have ] in them. TODO: Allow escaped path segments.
2011-12-27 01:21:53 -08:00
Chris Broadfoot
f6070f0084
Fix support for Rhino
2011-12-20 10:43:37 +11:00
Mike Moulton
42e31ef6db
Escaping a '/' in the ID regex. This was preventing handelbars.js from loading in Rhino.
2011-11-22 22:46:29 -08:00
Alan Johnson
fc84308cc9
Got simple literal expressions added into paths.
2011-09-02 09:04:41 -04:00
tomhuda
1482f1ae72
Add BOOLEAN support
2011-06-01 22:57:22 -07:00
tomhuda
0f78345d0c
Add support for INTEGER expressions
2011-06-01 22:33:48 -07:00
Schuyler Duveen
4e5cf17311
support "$" as an ID character: google has a bunch of json that has $t, etc values
2011-05-13 11:40:31 -04:00
wycats
a4ca50533d
Add support for line-breaks in mustaches
2011-05-12 12:23:15 -07:00
Yehuda Katz
3e5bc84058
Merge pull request #69 from rgrove/allow-hyphens.
...
Allow ids to contain hyphens. Fixes #36 .
2011-05-03 19:01:37 -07:00
Ryan Grove
b324d002ca
Allow ids to contain hyphens. Fixes #36 .
...
Previously, a mustache like {{foo-bar}} would generate a
parse error, which was a departure from the behavior of
other Mustache implementations.
2011-04-28 22:30:21 -07:00
Ryan Grove
aba636ec38
Support multi-line comments.
...
{{!
Like this.
}}
2011-04-18 16:08:20 -07:00
tomhuda
e0aa705f71
Add support for hash args in the tokenizer and parser
2011-03-03 21:33:28 -08:00
tomhuda
51d2543ba1
Add support for {{foo.bar.baz}}
2011-03-03 20:08:28 -08:00
Alan Johnson
e6b14fa934
Put null byte on content match instead of [^]
2011-01-25 21:13:39 -05:00
David Stone
dd4c03d0e3
IE doesn't like negated empty character classes.
...
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.
2011-01-19 16:22:28 -08:00
wycats
fa5853079f
arrrrg
2011-01-10 16:00:09 -08:00
wycats
ce1ed0dc4a
Fix for shitty JS regex engines.
2011-01-10 15:47:11 -08:00
wycats
bf6c74aa83
Restructure things more simply
2010-12-29 18:21:43 -08:00
Zach Carter
97536f897e
Switch to Jison's lexer.
2010-12-14 19:07:05 -05:00