summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Update definition of BlockStatement.pathLuiz Américo2016-07-211-1/+1
| | | | As pointed in https://github.com/wycats/handlebars.js/issues/1237 BlockStatement.path accepts in practice PathExpression or Literal. Updates its definition to reflect this fact
* Fix typos on decorators-api.md.Anders D. Johnson2015-12-231-2/+2
|
* Add basic decorators docskpdecker2015-09-011-0/+19
| | | Fixes #1088
* Implement block decoratorskpdecker2015-08-221-1/+1
| | | | These allow for a given block to be wrapped in helper methods or metadata and allow for more control over the current container and method before the code is run.
* Add decorator parsingkpdecker2015-08-221-0/+27
|
* Update AST doc for partial blockkpdecker2015-08-221-1/+2
|
* Implement partial blockskpdecker2015-08-221-1/+13
| | | | | | This allows for failover for missing partials as well as limited templating ability through the `{{> @partial-block }}` partial special case. Partial fix for #1018
* Add undefined and null literal supportkpdecker2015-04-071-0/+8
| | | | | This adds the UndefinedLiteral and NullLiteral to AST. Fixes #990
* Update AST docs for literal helper nameskpdecker2015-02-091-1/+1
|
* Avoid direct references to sexpr in statementskpdecker2015-01-181-1/+1
| | | | | This allows us to avoid creating unnecessary AST nodes and avoids things like isHelper. Side effect of these changes is that @data functions can now have data parameters passed to them.
* Update for proposed SubExpression dependency breakkpdecker2015-01-181-19/+17
| | | Avoids parsing against SubExpressions and instead inlines the content that a subexpression otherwise would have. This can still be based via duck typing so should not add much overhead to the compiler.
* Update PartialExpression AST docskpdecker2015-01-181-2/+2
|
* Add support for dynamic partial nameskpdecker2015-01-181-0/+13
| | | | | | | | | Uses the subexpression syntax to allow for dynamic partial lookups. Ex: ``` {{> (helper) }} ``` Fixes #933
* Add parent tracking and mutation to AST visitorskpdecker2014-12-261-0/+6
| | | Fixes #916
* Add basic docs for JavaScriptCompiler override APIkpdecker2014-11-291-0/+23
|
* s/Subexpression/SubExpression/kpdecker2014-11-291-4/+4
|
* Rework strip flags to make clearer at in AST levelkpdecker2014-11-281-9/+13
| | | Rather than keeping state in the AST, which requires some gymnastics, we create a separate visitor flow which does the top down iteration necessary to calculate all of the state needed for proper whitespace control evaluation.
* First crack at compiler API docskpdecker2014-11-281-0/+224