16 Commits

Author SHA1 Message Date
Patrick Steele-Idem
79aa92254f Fixes #36 Deprecated invokeBody in favor of renderBody 2015-02-23 16:35:30 -07:00
Patrick Steele-Idem
9da27606dd Fixes #32 Don't use module.exports in compiled output 2015-02-13 17:49:02 -07:00
Patrick Steele-Idem
ab3664bdbb Added support for adding static code to a compiled template 2015-02-13 13:59:06 -07:00
Patrick Steele-Idem
ddc6cd5de8 Added support for "body-only-if" 2014-12-10 21:22:51 -07:00
Patrick Steele-Idem
33ab7744a9 Renamed "context" to "out" 2014-09-19 09:33:04 -06:00
Patrick Steele-Idem
8d564e4954 Better handling of null/undefined expressions. 2014-08-13 09:49:07 -06:00
Phil Gates-Idem
a49554b4cb When compiling templates that use string concatenation, treat null and undefined as empty strings so that the the literal "null" and "undefined" don't get written 2014-08-13 00:37:18 -04:00
Patrick Steele-Idem
1294d9f538 Added getRequirePath to both TemplateBuilder and TemplateCompiler 2014-07-22 23:56:43 -06:00
Patrick Steele-Idem
19fe5bc2a9 Added getRequirePath to TemplateBuilder 2014-07-22 23:52:40 -06:00
Patrick Steele-Idem
98598da83c Added semicolon for statement 2014-06-18 21:02:25 -06:00
Patrick Steele-Idem
3f322ecfe5 Performance optimizations for template resolution in compiled templates 2014-06-18 17:16:36 -06:00
Patrick Steele-Idem
37bbc0d51f Improved how vars can be added to compiled template 2014-06-04 21:54:12 -06:00
Patrick Steele-Idem
5d483c3af8 Simplified how to generate function calls 2014-06-04 21:53:58 -06:00
Patrick Steele-Idem
04b96556c7 Fixed unnecessary parentheses 2014-05-05 22:00:18 -06:00
Phil Gates-Idem
e1872eeaaa Fixing bug that occurs when string concatenation is being used and one of the parts is a ternary operator expression. Each part needs to be surrounded with parentheses. 2014-05-01 16:19:45 -04:00
Patrick Steele-Idem
1c6dd4f6cc Flattened directory structure a bit by dropping lib 2014-04-29 22:21:20 -06:00