summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler.js
diff options
context:
space:
mode:
authorgleitz <gleitz@mit.edu>2011-06-22 13:54:17 -0400
committergleitz <gleitz@mit.edu>2011-06-22 13:54:17 -0400
commitbe8f4f6fb9c6bde43e28dd7b1b7247c4d7bdd046 (patch)
treea41a990aebcd3a49a5acbb922aa831a2610b9d20 /lib/handlebars/compiler.js
parent1482f1ae72b6bc6fec45e22b0ba87ff452a72c3a (diff)
downloadhandlebars.js-be8f4f6fb9c6bde43e28dd7b1b7247c4d7bdd046.zip
handlebars.js-be8f4f6fb9c6bde43e28dd7b1b7247c4d7bdd046.tar.gz
handlebars.js-be8f4f6fb9c6bde43e28dd7b1b7247c4d7bdd046.tar.bz2
Updated the boolean functions to work with YUI compressor. Linted other files for consistency
Diffstat (limited to 'lib/handlebars/compiler.js')
-rw-r--r--lib/handlebars/compiler.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/handlebars/compiler.js b/lib/handlebars/compiler.js
index 42e5c2c..4d74d14 100644
--- a/lib/handlebars/compiler.js
+++ b/lib/handlebars/compiler.js
@@ -228,8 +228,8 @@ Handlebars.JavaScriptCompiler = function() {};
this.opcode('push', integer.integer);
},
- BOOLEAN: function(boolean) {
- this.opcode('push', boolean.boolean);
+ BOOLEAN: function(bool) {
+ this.opcode('push', bool.boolean);
},
comment: function() {},