summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorMark DiMarco <mark.dimarco@gmail.com>2011-09-01 20:37:51 -0500
committerMark DiMarco <mark.dimarco@gmail.com>2011-09-01 20:37:51 -0500
commit696dc2dc365f8d8cceee5233df74ad9bff54b001 (patch)
tree3008758a1d2c580e8fd4522eb93f63b350c025eb /lib/handlebars/compiler/compiler.js
parent96571b93c1fad62fb207c235b2277602b056d008 (diff)
downloadhandlebars.js-696dc2dc365f8d8cceee5233df74ad9bff54b001.zip
handlebars.js-696dc2dc365f8d8cceee5233df74ad9bff54b001.tar.gz
handlebars.js-696dc2dc365f8d8cceee5233df74ad9bff54b001.tar.bz2
The missing semicolon is breaking our code when we minify.
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index a8fb31f..a3fd120 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -521,7 +521,8 @@ Handlebars.JavaScriptCompiler = function() {};
+ " || "
+ this.nameLookup('depth' + this.lastContext, name, 'context');
}
-
+
+ toPush += ';';
this.source.push(toPush);
} else {
this.pushStack('depth' + this.lastContext);