Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | docs | Jesse Luehrs | 2012-10-08 | 1 | -0/+155 | |
| | ||||||
* | rename this to just Text::Handlebars | Jesse Luehrs | 2012-10-08 | 2 | -3/+3 | |
| | ||||||
* | make this a bit more explicit | Jesse Luehrs | 2012-10-08 | 2 | -1/+7 | |
| | ||||||
* | this is already a built-in thing | Jesse Luehrs | 2012-10-08 | 2 | -5/+1 | |
| | ||||||
* | check partial suffix at runtime, not compile time | Jesse Luehrs | 2012-10-08 | 2 | -17/+4 | |
| | ||||||
* | move more code into the compiler | Jesse Luehrs | 2012-10-08 | 2 | -143/+143 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-10-08 | 2 | -10/+21 | |
| | ||||||
* | move more bits into the compiler | Jesse Luehrs | 2012-10-08 | 2 | -16/+41 | |
| | ||||||
* | implement hash args for normal helpers | Jesse Luehrs | 2012-10-08 | 3 | -5/+10 | |
| | ||||||
* | implement hash parameters for block helpers | Jesse Luehrs | 2012-10-08 | 4 | -7/+59 | |
| | ||||||
* | make block helpers recognizable as helpers | Jesse Luehrs | 2012-10-08 | 2 | -8/+8 | |
| | ||||||
* | move this earlier | Jesse Luehrs | 2012-10-05 | 1 | -10/+10 | |
| | ||||||
* | and... didn't need these parts of that file | Jesse Luehrs | 2012-10-05 | 1 | -8/+0 | |
| | ||||||
* | whoops, forgot to add this file a while ago | Jesse Luehrs | 2012-10-05 | 1 | -0/+22 | |
| | ||||||
* | rename a few things | Jesse Luehrs | 2012-10-05 | 2 | -6/+6 | |
| | ||||||
* | move lambda checking for keys out of the parser | Jesse Luehrs | 2012-10-05 | 2 | -43/+64 | |
| | ||||||
* | simplify the parsing logic significanly by redefining expression | Jesse Luehrs | 2012-10-05 | 1 | -50/+25 | |
| | | | | | the handlebars language isn't a typical infix-style thing, so it makes sense that expressions will have differerent meanings here | |||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -8/+12 | |
| | ||||||
* | restructure this to mirror expression() more closely | Jesse Luehrs | 2012-10-05 | 1 | -1/+2 | |
| | ||||||
* | this went away a while ago | Jesse Luehrs | 2012-10-05 | 1 | -3/+1 | |
| | ||||||
* | since functions and helpers are different, drop this special case | Jesse Luehrs | 2012-10-05 | 2 | -5/+14 | |
| | ||||||
* | change back to defining helpers and functions separately | Jesse Luehrs | 2012-10-05 | 6 | -18/+55 | |
| | | | | | | 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 Luehrs | 2012-10-05 | 2 | -25/+20 | |
| | ||||||
* | remove debugging code | Jesse Luehrs | 2012-10-05 | 1 | -1/+0 | |
| | ||||||
* | hack to make normal helpers work for now | Jesse Luehrs | 2012-10-05 | 2 | -3/+12 | |
| | | | | | | | | 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 correctly | Shawn M Moore | 2012-10-05 | 1 | -0/+25 | |
| | ||||||
* | special case {{{.}}} (not dealing with {{foo . bar}} in general) | Jesse Luehrs | 2012-10-05 | 2 | -12/+16 | |
| | ||||||
* | implement {{^}} in normal blocks | Jesse Luehrs | 2012-10-05 | 3 | -71/+53 | |
| | | | | also, greatly simplify the logic for blocks in general | |||||
* | actually, @foo just seems to be another kind of variable? | Jesse Luehrs | 2012-10-05 | 3 | -20/+5 | |
| | | | | | | | | | 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 names | Jesse Luehrs | 2012-10-05 | 1 | -0/+13 | |
| | ||||||
* | test for passing context to partials | Jesse Luehrs | 2012-10-05 | 1 | -0/+25 | |
| | ||||||
* | implement {{^}} as an alias for {{else}} | Jesse Luehrs | 2012-10-05 | 3 | -0/+143 | |
| | ||||||
* | test empty blocks | Jesse Luehrs | 2012-10-05 | 1 | -0/+9 | |
| | ||||||
* | make this a todo test | Jesse Luehrs | 2012-10-05 | 1 | -2/+4 | |
| | ||||||
* | support {{@index}} | Jesse Luehrs | 2012-10-05 | 2 | -7/+48 | |
| | ||||||
* | Failing test for {{{.}}} | Shawn M Moore | 2012-10-05 | 1 | -0/+9 | |
| | ||||||
* | support {{this/foo}} | Jesse Luehrs | 2012-10-05 | 2 | -2/+15 | |
| | ||||||
* | Add an ABSTRACT to silence dzil | Shawn M Moore | 2012-10-05 | 1 | -0/+1 | |
| | ||||||
* | allow - in identifiers | Jesse Luehrs | 2012-10-05 | 2 | -1/+21 | |
| | ||||||
* | 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 | 4 | -16/+60 | |
| | ||||||
* | simplify | Jesse Luehrs | 2012-10-04 | 1 | -4/+9 | |
| | ||||||
* | allow [] for dereferencing with literals | Jesse Luehrs | 2012-10-04 | 2 | -2/+37 | |
| | ||||||
* | 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 | 4 | -3/+42 | |
| | ||||||
* | add tests for non-block helpers | Jesse Luehrs | 2012-10-04 | 2 | -0/+193 | |
| | ||||||
* | implement the built-in block helpers | Jesse Luehrs | 2012-10-04 | 2 | -0/+209 | |
| | ||||||
* | rename this test | Jesse Luehrs | 2012-10-04 | 1 | -0/+0 | |
| | ||||||
* | refactor this so that helpers are just normal functions | Jesse Luehrs | 2012-10-04 | 3 | -27/+27 | |
| |