Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

preheat takes full handlebars src path

  • Loading branch information...
commit 06fec134e809422b036b838df262312d11c428b1 1 parent 8334292
@thlorenz authored
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
2  examples/app.js
@@ -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
2  examples/server.js
@@ -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
2  preheat.js
@@ -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 +
Please sign in to comment.
Something went wrong with that request. Please try again.