javascript - jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found) -


i'm seeing error messages file, min.map, being not found:

get jquery's jquery-1.10.2.min.map triggering 404 (not found)


screenshot

enter image description here

where coming from?

if chrome devtools reporting 404 .map file (maybe jquery-1.10.2.min.map, jquery.min.map or jquery-2.0.3.min.map, can happen anything) first thing know requested when using devtools. your users not hitting 404.

now can fix or disable sourcemap functionality.

fix: files

next, it's easy fix. head http://jquery.com/download/ , click download map file link version, , you'll want uncompressed file downloaded well.

enter image description here

having map file in place allows debug minified jquery via original sources, save lot of time , frustration if don't dealing variable names a , c.

more sourcemaps here: an introduction javascript source maps

dodge: disable sourcemaps

instead of getting files, can alternatively disable javascript source maps now, in settings. fine choice if never plan on debugging javascript on page. use cog icon in bottom right of devtools, open settings, then: enter image description here


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -