aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js2
-rw-r--r--build/release.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 952515b46..c17082104 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -115,7 +115,7 @@ module.exports = function( grunt ) {
"/*! jQuery v<%= pkg.version %> | " +
"(c) 2005, 2013 jQuery Foundation, Inc. | " +
"jquery.org/license\n" +
- "//@ sourceMappingURL=jquery.min.map\n" +
+ "//# sourceMappingURL=jquery.min.map\n" +
"*/\n"
}
}
diff --git a/build/release.js b/build/release.js
index 886387995..6ec38777b 100644
--- a/build/release.js
+++ b/build/release.js
@@ -167,10 +167,10 @@ function makeReleaseCopies( next ) {
} else if ( /\.min\.js$/.test( releaseFile ) ) {
// Minified files point back to the corresponding map;
// again assume one big happy directory.
- // "//@ sourceMappingURL=jquery.min.map"
+ // "//# sourceMappingURL=jquery.min.map"
text = fs.readFileSync( builtFile, "utf8" )
- .replace( /\/\/@ sourceMappingURL=\S+/,
- "//@ sourceMappingURL=" + unpathedFile.replace( /\.js$/, ".map" ) );
+ .replace( /\/\/# sourceMappingURL=\S+/,
+ "//# sourceMappingURL=" + unpathedFile.replace( /\.js$/, ".map" ) );
fs.writeFileSync( releaseFile, text );
} else if ( builtFile !== releaseFile ) {
copy( builtFile, releaseFile );