summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/ast.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-11-28 16:55:41 -0600
committerkpdecker <kpdecker@gmail.com>2014-11-28 16:55:41 -0600
commitffc9fb5007f516350ddeca90640982e4e12503f5 (patch)
tree7d8ff55e4bcc7d6308199a1efcfe0095c01a4856 /lib/handlebars/compiler/ast.js
parent6a7a8c803d48b8a5768d00e8d1c73cf5012106d2 (diff)
downloadhandlebars.js-ffc9fb5007f516350ddeca90640982e4e12503f5.zip
handlebars.js-ffc9fb5007f516350ddeca90640982e4e12503f5.tar.gz
handlebars.js-ffc9fb5007f516350ddeca90640982e4e12503f5.tar.bz2
Add original to BooleanLiteral
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r--lib/handlebars/compiler/ast.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js
index 69581f2..efb4ece 100644
--- a/lib/handlebars/compiler/ast.js
+++ b/lib/handlebars/compiler/ast.js
@@ -120,7 +120,8 @@ var AST = {
BooleanLiteral: function(bool, locInfo) {
this.loc = locInfo;
this.type = 'BooleanLiteral';
- this.value = bool === 'true';
+ this.original =
+ this.value = bool === 'true';
},
Hash: function(pairs, locInfo) {