Skip to content

Commit

Permalink
s/Subexpression/SubExpression/
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Nov 29, 2014
1 parent 928ba56 commit a655aed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/compiler-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ interface Statement <: Node { }

interface MustacheStatement <: Statement {
type: "MustacheStatement";
sexpr: Subexpression;
sexpr: SubExpression;
escaped: boolean;

strip: StripFlags | null;
}

interface BlockStatement <: Statement {
type: "BlockStatement";
sexpr: Subexpression;
sexpr: SubExpression;
program: Program | null;
inverse: Program | null;

Expand All @@ -74,7 +74,7 @@ interface BlockStatement <: Statement {

interface PartialStatement <: Statement {
type: "PartialStatement";
sexpr: Subexpression;
sexpr: SubExpression;

indent: string;
strip: StripFlags | null;
Expand All @@ -100,7 +100,7 @@ interface CommentStatement <: Statement {
interface Expression <: Node { }
```

##### Subexpressions
##### SubExpressions

```java
interface SubExpression <: Expression {
Expand Down
2 changes: 1 addition & 1 deletion lib/handlebars/compiler/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a655aed

Please sign in to comment.