From 6f6eb89bd85eba99285ea4e0dc39c238415b7e6d Mon Sep 17 00:00:00 2001 From: kpdecker Date: Tue, 5 Nov 2013 18:02:05 -0600 Subject: [PATCH] Use handlebars runtime from precompiled amd files Fixes #644 --- bin/handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/handlebars b/bin/handlebars index d51df92de..0e0cbc27f 100755 --- a/bin/handlebars +++ b/bin/handlebars @@ -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 {