Permalink
Browse files

preheat takes full handlebars src path

  • Loading branch information...
1 parent 8334292 commit 06fec134e809422b036b838df262312d11c428b1 @thlorenz committed Aug 25, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/app.js
  2. +1 −1 examples/server.js
  3. +1 −1 preheat.js
View
@@ -8,7 +8,7 @@ var hotplates = require('..')
hotplates
.preheat(
{ amd: true
- , handlebarsPath: '../node_modules/handlebars'
+ , handlebarsSrc: '../node_modules/handlebars/handlebars'
, target: path.join(__dirname, 'preheated.js')
}
, function (err, data) {
View
@@ -44,7 +44,7 @@ function serveSite () {
hotplates
.preheat(
{ amd: true
- , handlebarsPath: '../node_modules/handlebars'
+ , handlebarsPath: '../node_modules/handlebars/handlebars'
, target: path.join(__dirname, 'preheated.js')
}
, function (err, data) {
View
@@ -18,7 +18,7 @@ function preheat(opts, cb) {
partials = {};
header = opts.amd ?
- 'require([\'' + opts.handlebarsPath + '/handlebars\'], function(Handlebars) {\n' :
+ 'require([\'' + opts.handlebarsSrc + '\'], function(Handlebars) {\n' :
'(function() {\n';
header = header +

0 comments on commit 06fec13

Please sign in to comment.