Forgot === for falsy check.

This commit is contained in:
Alan Johnson
2011-09-05 14:20:57 -04:00
parent 33bb89beda
commit b832c85923
+1 -1
View File
@@ -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') + ");");
},