Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(app): change the script src to lowercase
Browse files Browse the repository at this point in the history
Update the script source path to reference the lowercase filenames

Closes #557
  • Loading branch information
zhuangya authored and eddiemonge committed Jan 27, 2014
1 parent 461c4f2 commit c884c91
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.replace('\\', '/') + '.js"></script>'
'<script src="scripts/' + script.toLowerCase().replace('\\', '/') + '.js"></script>'
]
});
} catch (e) {
Expand Down

0 comments on commit c884c91

Please sign in to comment.