summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorPeter Wagenet <peter.wagenet@gmail.com>2013-02-08 18:32:41 -0800
committerPeter Wagenet <peter.wagenet@gmail.com>2013-02-08 18:42:20 -0800
commit51e9259facb48f828b3b92a454a5245ad22bd3b6 (patch)
treed00074289a897637eef5408a512ff22e6cf7270a /lib/handlebars/compiler/compiler.js
parent0844d74fbec8b18a89f3f5ca6552ae7b298d21ed (diff)
downloadhandlebars.js-51e9259facb48f828b3b92a454a5245ad22bd3b6.zip
handlebars.js-51e9259facb48f828b3b92a454a5245ad22bd3b6.tar.gz
handlebars.js-51e9259facb48f828b3b92a454a5245ad22bd3b6.tar.bz2
Decouple compiler version checks from release versions
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index dd62b2c..0a82888 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -539,7 +539,7 @@ Handlebars.JavaScriptCompiler = function() {};
var source = this.mergeSource();
if (!this.isChild) {
- source = "this.compiledVersion = '"+Handlebars.VERSION+"';\n"+source;
+ source = "this.compiledVersion = "+Handlebars.COMPILER_REVISION+";\n"+source;
}
if (asObject) {