summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/ast.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-01-06 02:40:43 -0600
committerkpdecker <kpdecker@gmail.com>2014-01-06 02:45:09 -0600
commitfc60f16475c3a204849371f485c9316af40765e7 (patch)
tree9586c8dac7229e7f9aa7665290562e80642ffa38 /lib/handlebars/compiler/ast.js
parent08fab253ef86a2a6fe99e166485552b2d23cd24f (diff)
downloadhandlebars.js-fc60f16475c3a204849371f485c9316af40765e7.zip
handlebars.js-fc60f16475c3a204849371f485c9316af40765e7.tar.gz
handlebars.js-fc60f16475c3a204849371f485c9316af40765e7.tar.bz2
Fix DATA value in stringParams mode
Fixes #699
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r--lib/handlebars/compiler/ast.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js
index 002fd3b..dda682e 100644
--- a/lib/handlebars/compiler/ast.js
+++ b/lib/handlebars/compiler/ast.js
@@ -189,6 +189,7 @@ var AST = {
LocationInfo.call(this, locInfo);
this.type = "DATA";
this.id = id;
+ this.stringModeValue = id.stringModeValue;
},
StringNode: function(string, locInfo) {