Frage

The minified jQuery library file contains this comment at the top:

/*! jQuery v2.0.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-2.0.2.min.map
*/

Chrome is making requests for that file which isn't being found.

What is the meaning of the line starting with //@? Is it only used for source maps? Googling three non-alpha-numeric characters isn't yielding many results.

War es hilfreich?

Lösung

Yes, it's for source maps.

"This enables developer tools to map calls back to their location in original source files."

http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ http://globaldev.co.uk/2013/01/happy-debugging-with-javascript-source-maps/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top