Skip to content

Commit

Permalink
Use handlebars runtime from precompiled amd files
Browse files Browse the repository at this point in the history
Fixes #644
  • Loading branch information
kpdecker committed Nov 6, 2013
1 parent eea708a commit 6f6eb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -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 Handlebars = Handlebars["default"];');
output.push('define([\'' + argv.handlebarPath + 'handlebars.runtime\'], function(Handlebars) {\n Handlebars = Handlebars["default"];');
} else if (argv.commonjs) {
output.push('var Handlebars = require("' + argv.commonjs + '");');
} else {
Expand Down

0 comments on commit 6f6eb89

Please sign in to comment.