diff options
author | Luiz Américo <camara_luiz@yahoo.com.br> | 2016-07-21 20:45:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 20:45:25 -0300 |
commit | f2211ddd650af2a28c782e736d8528f875c38dd4 (patch) | |
tree | b9e11b8e18fc936cd8d7dc377ba6a5a9fa732b22 /docs/compiler-api.md | |
parent | a6a0e50551ff7a7f7349ea67d35dcda04ce26cfd (diff) | |
download | handlebars.js-f2211ddd650af2a28c782e736d8528f875c38dd4.zip handlebars.js-f2211ddd650af2a28c782e736d8528f875c38dd4.tar.gz handlebars.js-f2211ddd650af2a28c782e736d8528f875c38dd4.tar.bz2 |
Update definition of BlockStatement.path
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
Diffstat (limited to 'docs/compiler-api.md')
-rw-r--r-- | docs/compiler-api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/compiler-api.md b/docs/compiler-api.md index 2938219..c9d2e93 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -66,7 +66,7 @@ interface MustacheStatement <: Statement { interface BlockStatement <: Statement { type: "BlockStatement"; - path: PathExpression; + path: PathExpression | Literal; params: [ Expression ]; hash: Hash; |