diff options
Diffstat (limited to 'lib/handlebars')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index 4537386..0b4c23d 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -532,7 +532,7 @@ Handlebars.JavaScriptCompiler = function() {}; lookup: function(name) { var topStack = this.topStack(); - this.source.push(topStack + " = (" + topStack + " == null || " + topStack + " == undefined || " + topStack + " == false ? " + + this.source.push(topStack + " = (" + topStack + " === null || " + topStack + " === undefined || " + topStack + " === false ? " + topStack + " : " + this.nameLookup(topStack, name, 'context') + ");"); }, |