Skip to content

Commit

Permalink
fix(gen): script paths use forward slashes
Browse files Browse the repository at this point in the history
Using path.join creates backslashes. Script src uses forward slashes

Fixes #410
  • Loading branch information
eddiemonge committed Nov 12, 2013
1 parent 4053f11 commit 40aa61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Generator.prototype.addScriptToIndex = function (script) {
file: fullPath,
needle: '<!-- endbuild -->',
splicable: [
'<script src="scripts/' + script + '.js"></script>'
'<script src="scripts/' + script.replace('\\', '/') + '.js"></script>'
]
});
} catch (e) {
Expand Down

0 comments on commit 40aa61d

Please sign in to comment.