summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars.pm
Commit message (Collapse)AuthorAgeFilesLines
* find_file and suffix are now opcodesJesse Luehrs2012-10-191-7/+0
|
* move most of find_file into the compilerJesse Luehrs2012-10-191-4/+4
|
* merge_hash is now an opcodeJesse Luehrs2012-10-181-4/+0
|
* reimplement new_vars_for in terms of merge_hashJesse Luehrs2012-10-181-20/+3
|
* turned render_string into an opcodeJesse Luehrs2012-10-151-4/+0
|
* reimplement run_code in terms of render_stringJesse Luehrs2012-10-151-5/+2
|
* is_code_ref can now be an opcode tooJesse Luehrs2012-10-151-4/+0
|
* this weaken is unnecessaryJesse Luehrs2012-10-151-2/+1
|
* simplifyJesse Luehrs2012-10-141-13/+6
|
* this doesn't need to be a function eitherJesse Luehrs2012-10-141-9/+0
|
* neither does make_hashJesse Luehrs2012-10-141-4/+0
|
* make_array doesn't need to be a functionJesse Luehrs2012-10-141-4/+0
|
* docsJesse Luehrs2012-10-081-0/+155
|
* this is already a built-in thingJesse Luehrs2012-10-081-4/+0
|
* check partial suffix at runtime, not compile timeJesse Luehrs2012-10-081-2/+2
|
* implement hash parameters for block helpersJesse Luehrs2012-10-081-1/+6
|
* make block helpers recognizable as helpersJesse Luehrs2012-10-081-3/+3
|
* since functions and helpers are different, drop this special caseJesse Luehrs2012-10-051-2/+10
|
* change back to defining helpers and functions separatelyJesse Luehrs2012-10-051-0/+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-23/+20
|
* implement {{^}} in normal blocksJesse Luehrs2012-10-051-2/+7
| | | | also, greatly simplify the logic for blocks in general
* actually, @foo just seems to be another kind of variable?Jesse Luehrs2012-10-051-0/+1
| | | | | | | | | 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
* support {{this/foo}}Jesse Luehrs2012-10-051-2/+2
|
* simplifyJesse Luehrs2012-10-051-7/+1
|
* simplifyJesse Luehrs2012-10-051-8/+6
|
* implement else blocksJesse Luehrs2012-10-051-5/+10
|
* make {{this}} an alias to {{.}} and make them work at the top levelJesse Luehrs2012-10-041-0/+24
|
* implement the built-in block helpersJesse Luehrs2012-10-041-0/+31
|
* refactor this so that helpers are just normal functionsJesse Luehrs2012-10-041-13/+9
|
* this isn't necessary anymoreJesse Luehrs2012-10-041-1/+0
|
* make this a bit clearerJesse Luehrs2012-10-041-4/+4
|
* implement helpersJesse Luehrs2012-10-041-0/+16
|
* make suffixes work for partialsJesse Luehrs2012-10-031-1/+4
|
* mostly implement partialsJesse Luehrs2012-10-031-1/+6
| | | | just need to get the auto-indenting behavior correct
* make section lambdas workJesse Luehrs2012-10-031-2/+5
|
* make basic lambdas work (not block lambdas yet)Jesse Luehrs2012-10-031-0/+15
|
* '.' should be a variable name referring to the current array elementJesse Luehrs2012-10-031-2/+6
|
* don't die here, just assume it's a truthy valueJesse Luehrs2012-10-031-2/+1
| | | | this makes things like json booleans work properly
* outer variables should remain visible unless overriddenJesse Luehrs2012-10-031-0/+1
|
* implement ../Jesse Luehrs2012-10-021-1/+7
|
* handle inverted sectionsJesse Luehrs2012-10-021-0/+4
|
* get blocks workingJesse Luehrs2012-09-281-0/+51