diff options
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r-- | lib/handlebars/compiler/ast.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js index a8a6844..fd6cdc5 100644 --- a/lib/handlebars/compiler/ast.js +++ b/lib/handlebars/compiler/ast.js @@ -117,7 +117,7 @@ var Handlebars = require('./base'); Handlebars.AST.BooleanNode = function(bool) { this.type = "BOOLEAN"; this.bool = bool; - this.stringModeValue = Boolean(bool); + this.stringModeValue = bool === "true"; }; Handlebars.AST.CommentNode = function(comment) { |