gleitz
52900c89f7
removed references to .boolean, which broke the YUI Compressor
2011-06-22 17:18:07 -04:00
gleitz
be8f4f6fb9
Updated the boolean functions to work with YUI compressor. Linted other files for consistency
2011-06-22 13:54:17 -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
tomhuda
ca9b9671a5
Add Hash arguments to simple mustaches (TODO: add Hash args to block helpers)
2011-03-04 00:11:03 -08:00
tomhuda
e0aa705f71
Add support for hash args in the tokenizer and parser
2011-03-03 21:33:28 -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
wycats
35b4d9fd01
linting
2010-12-04 22:26:41 -05:00
wycats
4db1abcd74
Fix up the compilation process
2010-12-04 17:35:36 -05:00
wycats
f205cec745
Finish compatibility with the old handlebars:
...
* foo"bar" is an invalid param
* {{foo}}bar{{/baz}} is invalid
* fix a number of issues with inverse sections
* add partials
2010-12-03 16:49:04 -05:00
wycats
c89ecf80a5
Inverse should really be its own node, as it has totally different runtime semantics
2010-12-03 01:10:14 -05:00
wycats
8f6f3051e6
Add support for inverted sections in the parser
2010-12-03 00:54:18 -05:00
wycats
762329913d
Fix a number of outstanding issues:
...
* {{}} 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)
2010-12-02 01:13:24 -05:00
wycats
b401fc388b
Test the parser, and clean up ID having multiple parts
2010-11-25 23:32:03 -08:00
wycats
f8b245896d
Make the ID node capable of handling paths
...
TODO: handle invalid paths in the tokenizer or parser
TODO: invalidate "{{ foo/ bar }}"
2010-11-25 16:12:50 -08:00
wycats
7d0204bf9f
Add some more tests, and properly handle errors across the boundary in tests
2010-11-25 16:09:42 -08:00
wycats
d97bc591a2
Restructure files to make more sense in a non-CommonJS world.
2010-11-25 02:49:08 -08:00
wycats
85fa2cb65f
Initial commit. Note that I'm using CommonJS modules and node purely to help 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.
2010-11-25 00:50:57 -08:00