There are several ways to remove the error.
-
By default Chrome will enable source maps. You can disable this by opening the Developer Tools and changing the general settings. Uncheck the Enable source maps option. This of course won’t fix the error on Apache.
-
Change your pages to use a CDN served by jQuery or Google rather than using a local version. This will stop your local Apache from showing the issue in your logs.
-
Alternatively, you will have to rewrite the comment at the top of your local version of jquery-1.10-2.min.js to stop this error. Otherwise you’ll need to wait for a patch by jQuery.
From:
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
To:
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */
sourceMappingURL is an HTML5 feature which has under gone some changes in the last months.
-
More info on sourceMappingURL: Introduction to JavaScript Source Maps, March 2012
-
See the following link related to recent changes to sourceMappingURL:
sourceMappingURL and sourceURL syntax changed, June 2013