summaryrefslogtreecommitdiffstats
path: root/t/block-helpers.t
Commit message (Collapse)AuthorAgeFilesLines
* implement hash parameters for block helpersJesse Luehrs2012-10-081-5/+5
|
* change back to defining helpers and functions separatelyJesse Luehrs2012-10-051-13/+13
| | | | | | helpers are different from functions because they implicitly receive the current context as the first argument, so they need to be declared differently. they work identically to functions in all other respects.
* actually, @foo just seems to be another kind of variable?Jesse Luehrs2012-10-051-0/+3
| | | | | | | | | really can't tell what the difference is between passing data in as normal template variables and passing them in as "template data" probably just won't support template data until someone can explain this better, because the handlebars test suite isn't very clear on the subject
* implement {{^}} as an alias for {{else}}Jesse Luehrs2012-10-051-0/+94
|
* implement else blocksJesse Luehrs2012-10-051-1/+1
|
* rename this testJesse Luehrs2012-10-041-0/+378