summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-11-29 17:59:09 -0600
committerkpdecker <kpdecker@gmail.com>2014-11-29 17:59:09 -0600
commita655aedb5cf523430b08ada5f8cc4730d1db3e5b (patch)
tree0fdf5adfe0824f0310fe1745effcc1576d060933
parent928ba56b9577fd6cd874f0a83178f1265a6d0526 (diff)
downloadhandlebars.js-a655aedb5cf523430b08ada5f8cc4730d1db3e5b.zip
handlebars.js-a655aedb5cf523430b08ada5f8cc4730d1db3e5b.tar.gz
handlebars.js-a655aedb5cf523430b08ada5f8cc4730d1db3e5b.tar.bz2
s/Subexpression/SubExpression/
-rw-r--r--docs/compiler-api.md8
-rw-r--r--lib/handlebars/compiler/compiler.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/compiler-api.md b/docs/compiler-api.md
index 89dcc4c..5431a98 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 df5a10f..5ba0916 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);
}