Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | implement {{^}} in normal blocks | Jesse Luehrs | 2012-10-05 | 2 | -68/+52 | |
| | | | | also, greatly simplify the logic for blocks in general | |||||
* | actually, @foo just seems to be another kind of variable? | Jesse Luehrs | 2012-10-05 | 2 | -20/+2 | |
| | | | | | | | | | 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 Luehrs | 2012-10-05 | 1 | -0/+4 | |
| | ||||||
* | support {{@index}} | Jesse Luehrs | 2012-10-05 | 1 | -7/+34 | |
| | ||||||
* | support {{this/foo}} | Jesse Luehrs | 2012-10-05 | 1 | -2/+2 | |
| | ||||||
* | Add an ABSTRACT to silence dzil | Shawn M Moore | 2012-10-05 | 1 | -0/+1 | |
| | ||||||
* | allow - in identifiers | Jesse Luehrs | 2012-10-05 | 1 | -1/+1 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -7/+1 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -8/+6 | |
| | ||||||
* | implement else blocks | Jesse Luehrs | 2012-10-05 | 2 | -13/+59 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-10-04 | 1 | -4/+9 | |
| | ||||||
* | allow [] for dereferencing with literals | Jesse Luehrs | 2012-10-04 | 1 | -0/+15 | |
| | ||||||
* | support [] to mean literal strings | Jesse Luehrs | 2012-10-04 | 1 | -2/+47 | |
| | ||||||
* | make {{this}} an alias to {{.}} and make them work at the top level | Jesse Luehrs | 2012-10-04 | 2 | -1/+26 | |
| | ||||||
* | implement the built-in block helpers | Jesse Luehrs | 2012-10-04 | 1 | -0/+31 | |
| | ||||||
* | refactor this so that helpers are just normal functions | Jesse Luehrs | 2012-10-04 | 2 | -17/+17 | |
| | ||||||
* | standalone lines need to be autochomped in raw_text too | Jesse Luehrs | 2012-10-04 | 1 | -14/+18 | |
| | ||||||
* | better check for matching closing tags | Jesse Luehrs | 2012-10-04 | 1 | -2/+22 | |
| | ||||||
* | remove outdated comments | Jesse Luehrs | 2012-10-04 | 1 | -2/+2 | |
| | ||||||
* | this isn't necessary anymore | Jesse Luehrs | 2012-10-04 | 1 | -1/+0 | |
| | ||||||
* | make this a bit clearer | Jesse Luehrs | 2012-10-04 | 1 | -4/+4 | |
| | ||||||
* | make lambdas work with field access | Jesse Luehrs | 2012-10-04 | 1 | -1/+1 | |
| | ||||||
* | implement helpers | Jesse Luehrs | 2012-10-04 | 2 | -2/+26 | |
| | ||||||
* | make functions able to take arbitrary arguments | Jesse Luehrs | 2012-10-04 | 1 | -17/+77 | |
| | ||||||
* | handle defaulting to variables more sanely | Jesse Luehrs | 2012-10-04 | 1 | -11/+19 | |
| | ||||||
* | compile {{{...}}} down to {{&...}} instead of {{mark_raw ...}} | Jesse Luehrs | 2012-10-04 | 1 | -1/+1 | |
| | | | | shouldn't make a difference, but feels cleaner | |||||
* | move the extra end tag data to the beginning to make parsing easier | Jesse Luehrs | 2012-10-04 | 1 | -13/+15 | |
| | ||||||
* | make XSLATE='dump=proto' work with my custom parser | Jesse Luehrs | 2012-10-04 | 1 | -1/+4 | |
| | ||||||
* | remove debugging code | Jesse Luehrs | 2012-10-03 | 2 | -48/+0 | |
| | ||||||
* | make suffixes work for partials | Jesse Luehrs | 2012-10-03 | 2 | -1/+16 | |
| | ||||||
* | mostly implement partials | Jesse Luehrs | 2012-10-03 | 2 | -3/+34 | |
| | | | | just need to get the auto-indenting behavior correct | |||||
* | make section lambdas work | Jesse Luehrs | 2012-10-03 | 2 | -13/+86 | |
| | ||||||
* | make basic lambdas work (not block lambdas yet) | Jesse Luehrs | 2012-10-03 | 2 | -2/+35 | |
| | ||||||
* | implement custom delimiters | Jesse Luehrs | 2012-10-03 | 1 | -10/+17 | |
| | ||||||
* | more cleanups | Jesse Luehrs | 2012-10-03 | 1 | -26/+22 | |
| | ||||||
* | this is unnecessary now too | Jesse Luehrs | 2012-10-03 | 1 | -2/+0 | |
| | ||||||
* | handle function calling properly | Jesse Luehrs | 2012-10-03 | 1 | -14/+16 | |
| | ||||||
* | standalone lines must only be followed by whitespace as well | Jesse Luehrs | 2012-10-03 | 1 | -3/+5 | |
| | ||||||
* | allow sections to be field lookups too | Jesse Luehrs | 2012-10-03 | 1 | -9/+8 | |
| | ||||||
* | '.' should be a variable name referring to the current array element | Jesse Luehrs | 2012-10-03 | 2 | -2/+15 | |
| | ||||||
* | don't die here, just assume it's a truthy value | Jesse Luehrs | 2012-10-03 | 1 | -2/+1 | |
| | | | | this makes things like json booleans work properly | |||||
* | outer variables should remain visible unless overridden | Jesse Luehrs | 2012-10-03 | 1 | -0/+1 | |
| | ||||||
* | make comments.json spectest pass | Jesse Luehrs | 2012-10-03 | 1 | -7/+20 | |
| | ||||||
* | implement ../ | Jesse Luehrs | 2012-10-02 | 2 | -1/+23 | |
| | ||||||
* | & for mark_raw | Jesse Luehrs | 2012-10-02 | 1 | -0/+9 | |
| | ||||||
* | handle inverted sections | Jesse Luehrs | 2012-10-02 | 3 | -32/+70 | |
| | ||||||
* | don't insert extra newlines for blocks | Jesse Luehrs | 2012-10-02 | 1 | -1/+8 | |
| | ||||||
* | '?' is a valid identifier character | Jesse Luehrs | 2012-10-02 | 1 | -1/+1 | |
| | ||||||
* | get blocks working | Jesse Luehrs | 2012-09-28 | 3 | -0/+176 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-09-28 | 1 | -10/+18 | |
| |