Minified jQuery redirecting to non-minified jquery from Google CDN -
i loading minified jquery script google cdn @ //ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
however, when load page on browser, according chrome developer tools, looks though standard jquery (non-minified) file being loaded. why happening? jquery trying load image not exist (css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png)
it's more awesome reindenting , reformating code.
the secret javascript source map, enables developers link minified file original source debugger able display original ungarbled code.
technique detailed here :
http://devtoolsecrets.com/secret/debugging-use-javascript-source-maps.html
if go network panel, you'll see file loaded minified one, , if @ header of file, contains source map declaration :
/*! jquery v1.10.2 | (c) 2005, 2013 jquery foundation, inc. | jquery.org/license //@ sourcemappingurl=jquery.min.map */
Comments
Post a Comment