Decouple compiler version checks from release versions

This commit is contained in:
Peter Wagenet
2013-02-08 18:32:41 -08:00
parent 0844d74fbe
commit 51e9259fac
5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -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) {