8000 Build: Fixed path substitutions for demos by gseguin · Pull Request #7133 · jquery-archive/jquery-mobile · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Build: Fixed path substitutions for demos #7133

Merged
merged 1 commit into from
Feb 23, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ module.exports = function( grunt ) {
var processedName = grunt.config.process( name + "<%= versionSuffix %>" );
content = content.replace( /_assets\/js\/">/gi, "_assets/js/index.js\">" );
content = content.replace( /\.\.\/external\/jquery\//gi, "js/" );
content = content.replace( /\.\.\/js\//gi, "js/" );
content = content.replace( /js\/"/gi, "js/" + processedName + ".min.js\"" );
content = content.replace( new RegExp( "../js/" + processedName, "gi" ), "js/" + processedName );
content = replaceCombinedCssReference( content, processedName );
content = content.replace( /^\s*<\?php include\(\s*['"]([^'"]+)['"].*$/gmi,
function( match, includePath /*, offset, string */ ) {
Expand Down
0