summaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* add test for loading just the syntax on its ownxslate-more-opcodesJesse Luehrs2012-10-193-10/+75
|
* simplify the logic for template suffixesJesse Luehrs2012-10-192-3/+11
| | | | | | | now, anything that doesn't contain a '.' will have the suffix appended unconditionally, rather than looking for both the suffixed and unsuffixed versions. this is more in line with how text::xslate typically works.
* implement hash args for normal helpersJesse Luehrs2012-10-081-2/+0
|
* implement hash parameters for block helpersJesse Luehrs2012-10-081-5/+5
|
* change back to defining helpers and functions separatelyJesse Luehrs2012-10-053-18/+18
| | | | | | 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.
* why was i defining things there?Jesse Luehrs2012-10-051-2/+0
|
* hack to make normal helpers work for nowJesse Luehrs2012-10-051-1/+1
| | | | | | | | thinking about it some more, defining helpers separately from builtin functions is a better idea, because helpers have to automatically receive the context object, which makes them different from normal functions. right now, i'm just special-casing mark_raw to avoid passing the context object to it, but it needs to be more general than that
* Another test for "each" setting up context correctlyShawn M Moore2012-10-051-0/+25
|
* special case {{{.}}} (not dealing with {{foo . bar}} in general)Jesse Luehrs2012-10-051-2/+0
|
* implement {{^}} in normal blocksJesse Luehrs2012-10-051-3/+1
| | | | also, greatly simplify the logic for blocks in general
* 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
* partials can use literals for namesJesse Luehrs2012-10-051-0/+13
|
* test for passing context to partialsJesse Luehrs2012-10-051-0/+25
|
* implement {{^}} as an alias for {{else}}Jesse Luehrs2012-10-052-0/+139
|
* test empty blocksJesse Luehrs2012-10-051-0/+9
|
* make this a todo testJesse Luehrs2012-10-051-2/+4
|
* support {{@index}}Jesse Luehrs2012-10-051-0/+14
|
* Failing test for {{{.}}}Shawn M Moore2012-10-051-0/+9
|
* support {{this/foo}}Jesse Luehrs2012-10-051-0/+13
|
* allow - in identifiersJesse Luehrs2012-10-051-0/+20
|
* implement else blocksJesse Luehrs2012-10-052-3/+1
|
* allow [] for dereferencing with literalsJesse Luehrs2012-10-041-2/+22
|
* make {{this}} an alias to {{.}} and make them work at the top levelJesse Luehrs2012-10-042-2/+16
|
* add tests for non-block helpersJesse Luehrs2012-10-042-0/+193
|
* implement the built-in block helpersJesse Luehrs2012-10-041-0/+178
|
* rename this testJesse Luehrs2012-10-041-0/+0
|
* refactor this so that helpers are just normal functionsJesse Luehrs2012-10-041-10/+10
|
* todo test for array dereferencingJesse Luehrs2012-10-041-0/+14
|
* add block helper testsJesse Luehrs2012-10-041-11/+341
|
* make lambdas work with field accessJesse Luehrs2012-10-041-0/+15
|
* implement helpersJesse Luehrs2012-10-041-3/+1
|
* make suffixes work for partialsJesse Luehrs2012-10-031-3/+1
|
* don't cache rendered files in testsJesse Luehrs2012-10-031-0/+2
|
* mostly implement partialsJesse Luehrs2012-10-031-3/+4
| | | | just need to get the auto-indenting behavior correct
* make section lambdas workJesse Luehrs2012-10-032-11/+3
|
* make basic lambdas work (not block lambdas yet)Jesse Luehrs2012-10-031-2/+23
|
* make this quieterJesse Luehrs2012-10-031-1/+1
|
* implement custom delimitersJesse Luehrs2012-10-032-2/+5
|
* mark a couple more spec tests that won't pass for nowJesse Luehrs2012-10-031-0/+2
|
* make comments.json spectest passJesse Luehrs2012-10-031-2/+0
|
* add mustache spec tests - 136/224 passing so farJesse Luehrs2012-10-022-0/+25
|
* implement ../Jesse Luehrs2012-10-021-2/+14
|
* clean up helpers testJesse Luehrs2012-10-021-39/+40
|
* more testsJesse Luehrs2012-10-022-0/+172
|
* refactor testsJesse Luehrs2012-10-027-174/+148
|
* forgot these filesJesse Luehrs2012-10-022-0/+5
|
* clean up testsJesse Luehrs2012-10-022-0/+8
|
* & for mark_rawJesse Luehrs2012-10-021-0/+58
|
* more testsJesse Luehrs2012-10-021-0/+228
|
* remove test numbersJesse Luehrs2012-09-284-0/+0
|