Update precompiler for default output

Fixes #563
This commit is contained in:
kpdecker
2013-10-12 17:13:23 -05:00
parent 0dbeaf973d
commit e9350f2932
+1 -1
View File
@@ -127,7 +127,7 @@ extension = new RegExp('\\.' + extension + '$');
var output = [];
if (!argv.simple) {
if (argv.amd) {
output.push('define([\'' + argv.handlebarPath + 'handlebars\'], function(Handlebars) {\n');
output.push('define([\'' + argv.handlebarPath + 'handlebars\'], function(Handlebars) {\n Handlebars = Handlebars["default"];');
} else if (argv.commonjs) {
output.push('var Handlebars = require("' + argv.commonjs + '");');
} else {