summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler.js
Commit message (Collapse)AuthorAgeFilesLines
* Break compiler and vm logic into separate files.kpdecker2011-07-301-746/+0
|
* Reduce scope of global variablekpdecker2011-07-291-1/+1
|
* Can access context variables masked by helpers by scoping with 'this.'kpdecker2011-07-291-6/+13
|
* * Remove legacy support for inverse sections as additional parameters.tomhuda2011-07-071-25/+10
| | | | * Unify inverse and normal block helpers * Make Handlebars.Exception inherit from JS Error
* removed references to .boolean, which broke the YUI Compressorgleitz2011-06-221-1/+1
|
* Updated the boolean functions to work with YUI compressor. Linted other ↵gleitz2011-06-221-2/+2
| | | | files for consistency
* Add BOOLEAN supporttomhuda2011-06-011-0/+4
|
* Add support for INTEGER expressionstomhuda2011-06-011-0/+4
|
* Merge pull request #79 from schuyler1d/numbersYehuda Katz2011-05-251-0/+2
|\ | | | | allow number indexes in paths for array access
| * allow number indexes in paths for array accessSchuyler Duveen2011-05-101-0/+2
| |
* | fixing partials with int namesJames Fuller2011-05-241-1/+1
|/
* Update specs and code so that the function passed to block helpers has the ↵tomhuda2011-05-041-8/+16
| | | | same API as regular compiled templates
* Rename vm.js to compiler.jstomhuda2011-05-031-0/+736
|
* Restructure things more simplywycats2010-12-291-116/+0
|
* Make {{#if foo}} handle empty Arrayswycats2010-12-281-1/+1
|
* Merge branch 'master' of https://github.com/zaach/handlebars.js into ↵wycats2010-12-271-1/+0
|\ | | | | | | zaach-master
| * Merging with latest masterZach Carter2010-12-201-6/+39
| |\
| * | Switch to Jison's lexer.Zach Carter2010-12-141-1/+0
| | |
* | | Add a #with helperwycats2010-12-211-0/+4
| | |
* | | #each should handle undefined or null valueswycats2010-12-211-1/+1
| | |
* | | Use pluggable logger rather the putswycats2010-12-211-0/+9
| |/ |/|
* | Add #each and #if built-in helpers for more readable iteration and conditionalswycats2010-12-191-0/+22
| |
* | Add optimized compiled version of handlebars, which should be significantly ↵wycats2010-12-181-6/+17
|/ | | | | | | | | | | faster. Use Handlebars.VM.compile instead of Handlebars.compile to use the optimized version. Major TODOS: * clean up a bunch of code duplication in the compiler * reorganize the compiler * add support for debug symbols which would make it possible to provide information about what part of the source caused a runtime error.
* Small restructuring. Have I mentioned how much I hate having to write ↵wycats2010-12-121-0/+71
modules that work in both CommonJS and the browser?