Skip to content

Commit

Permalink
Merge branch 'Ivanca-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
emaphp committed Mar 3, 2016
2 parents 2f55ae0 + 8cd1d54 commit f7dcb49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module.exports = function(content) {
// Resolve attributes
source = attributesContext.resolveAttributes(source);

callback(null, 'var Handlebars = require(\'' + require.resolve('handlebars/runtime') + '\');\n' +
callback(null, 'var Handlebars = require(\'' + require.resolve('handlebars/runtime').replace(/\\/g, '/') + '\');\n' +
'module.exports = (Handlebars[\'default\'] || Handlebars).template(' + source + ');');
};

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
},
{
"name": "Patrick Browne (ptbrowne)"
},
{
"name": "Ivan (Ivanca)"
}
],
"repository": {
Expand Down

0 comments on commit f7dcb49

Please sign in to comment.