From a655aedb5cf523430b08ada5f8cc4730d1db3e5b Mon Sep 17 00:00:00 2001 From: kpdecker Date: Sat, 29 Nov 2014 17:59:09 -0600 Subject: [PATCH] s/Subexpression/SubExpression/ --- docs/compiler-api.md | 8 ++++---- lib/handlebars/compiler/compiler.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/compiler-api.md b/docs/compiler-api.md index 89dcc4ccf..5431a9830 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -55,7 +55,7 @@ interface Statement <: Node { } interface MustacheStatement <: Statement { type: "MustacheStatement"; - sexpr: Subexpression; + sexpr: SubExpression; escaped: boolean; strip: StripFlags | null; @@ -63,7 +63,7 @@ interface MustacheStatement <: Statement { interface BlockStatement <: Statement { type: "BlockStatement"; - sexpr: Subexpression; + sexpr: SubExpression; program: Program | null; inverse: Program | null; @@ -74,7 +74,7 @@ interface BlockStatement <: Statement { interface PartialStatement <: Statement { type: "PartialStatement"; - sexpr: Subexpression; + sexpr: SubExpression; indent: string; strip: StripFlags | null; @@ -100,7 +100,7 @@ interface CommentStatement <: Statement { interface Expression <: Node { } ``` -##### Subexpressions +##### SubExpressions ```java interface SubExpression <: Expression { diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index df5a10f4f..5ba091650 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -363,7 +363,7 @@ Compiler.prototype = { this.opcode('pushStringParam', val, value, val.type); if (val.type === 'SubExpression') { - // Subexpressions get evaluated and passed in + // SubExpressions get evaluated and passed in // in string params mode. this.accept(val); }