Bad map file for jQuery 1.9.1 in the jQuery CDN

Posted on by

Quite a while back, Mike Taylor pointed out that the jQuery CDN has a minified copy of jQuery 1.9.1 with an incorrect map file reference. Basically, it refers to the map for jQuery 1.11.1, and that’s just wrong. If you are trying to debug a site that uses the minified jQuery 1.9.1 file, dev tools will get very confused and make a hard job even harder.

You might think that we could just edit the file to point to the correct map file, which does exist as There are at least two problems with doing that. The first is that the file is heavily cached across the internet, since it’s been assumed for years that it will never change once the release occurs. Even if we edited the file, both the JavaScript and map file might never actually update at the point where they’re being used.

A second problem is even more serious. We’ve been advocating that developers use the script’s integrity attribute to ensure that the file you are including has not been modified since you originally wrote the script tag. If we modify the contents of the file this attribute will be wrong and the page will no longer include the file. This is likely to completely break the page! Given the age of jQuery 1.9.1 it is possible that many of the pages including this file are not being actively maintained. Thus, we can’t seriously consider changing the JavaScript file in any way, not even one byte.

The least disruptive option is to remove the file that the jQuery 1.9.1 minified file references. It does not affect whether jQuery runs correctly for the visitors of a site. It only has the effect of disabling the source map. Because of these pitfalls of including the sourceMappingURL map reference in CDN JavaScript files that are often copied elsewhere, we no longer include it.

If you need to debug a site using one of these minified files, it is possible to manually associate a map file in Chrome. Open the minified source file, right click over the area of the minified source, and select “Add source map…”.

The incorrect file has been removed from the jQuery CDN. We expect that there won’t be any observable change from removing this file, other than restoring sanity to debugging a site that uses jQuery 1.9.1. The jQuery 1.11.1 minified file does not reference its map, so it will continue to work fine and you can associate a map file as mentioned above.

Because caches are so aggressive on CDNs and across the internet, it’s possible that you may still see this map file for a while. If you see some unusual behavior that you think is related to the missing file you can open a ticket on the CDN issue tracker.

201 thoughts on “Bad map file for jQuery 1.9.1 in the jQuery CDN

  1. Magnificent goods from you, man. I’ve understand your
    stuff previous to and you are just extremely excellent.
    I really like what you have acquired here, really like what you’re
    stating and the way in which you say it. You
    make it enjoyable and you still care for to keep it sensible.
    I can’t wait to read far more from you. This is really a terrific web site.

  2. Hello! I could have sworn I’ve visited this web
    site before but after browsing through a few
    of the articles I realized it’s new to me. Regardless, I’m certainly delighted I came across it and I’ll be book-marking it and checking back

  3. Excellent post. I used to be checking continuously this weblog
    and I’m impressed! Extremely useful info specially the last part :) I maintain such info a lot.
    I was looking for this certain information for a long time.
    Thanks and good luck.

  4. Greetings! I’ve been following your web site for a
    long time now and finally got the courage to go ahead and give you a shout out from Dallas Tx!
    Just wanted to say keep up the excellent work!

  5. Hey there, I think your website might be having browser
    compatibility issues. When I look at your website in Ie, it looks fine
    but when opening in Internet Explorer, it has some overlapping.

    I just wanted to give you a quick heads up! Other then that,
    terrific blog!

  6. I don’t even know how I ended up right here,
    but I assumed this put up was once great. I do not understand who you
    are but definitely you are going to a well-known blogger for those who aren’t
    already. Cheers!

  7. A motivating discussion is definitely worth comment.
    I think that you need to publish more on this subject, it may
    not be a taboo matter but generally people don’t talk about these issues.
    To the next! Kind regards!!

  8. Having moved about a gazillion times (and preparing yourself to do it again),
    I advocate, and dis-advocate a few of these suggestions:

    1. Just fold completion of the packing tape over.
    This does not need any extra devices such as a toothpick which you will lose
    and then need to go find more toothpicks. Be prepared to
    poke yourself in unexpected places with lost toothpicks
    (specifically those ones on the flooring).

    2. YOU NEED TO EMPTY YOUR BED ROOM DRESSER! Factor # 1 – Clothing are heavy,
    and depending on the sturdiness of your cabinet, they will move around and possibly skew the drawers.
    This took place to me with a less costly cabinet.
    I had the ability to get it back together, which readies due to the fact that I was a grad student and didn’t have
    funds for another piece of furniture.

    – The clothes are still heavy and depending upon the weight of your cabinet, you will end up with a furniture
    piece so remarkably heavy it will be difficult to move.

    Particularly if it needs to go up stairs on someone’s back (let’s hope it’s not

    4. I dis-advocate socks or other knit clothing items
    as packing material. While they are cushy, socks around
    large glasses extend them out. This is fine if you are a person with big feet, however
    ladies socks will end up being unwearable. Also, you want to make sure
    whatever you cover your socks or other knitwear around is clean.
    My papa evacuated boxes and boxes of dusty knickknacks utilizing his significant collection of knit golf shirts.
    They were totally gross after being twisted around dirty things, extended, and some had holes from
    the sharp edges of some of the objects. My mom was doing laundry
    for days after the relocation (I think she ought to have made him do it).

    5. I totally promote taking a photo of the back of your TV,
    and maybe drawing a diagram of it too. And identifying the cables.

    Makes hooking whatever back up in the new place sooooo a lot easier.
    I discovered that lesson the hard way.

    6. There is a factor you pack books in the SMALL boxes.
    Like clothes, they are heavy. Packing them in suitcases only
    works if you utilize a small suitcase. Otherwise, you wind up with a behemoth
    of a bag that with wheels, you can just move on flat surface areas and with an elevator.
    Depending on the density of the books and quality of your bag, you may likewise
    end up ruining your luggage. Pack your clothes in them rather because it’s what they
    were made for.

    All the best movers!

  9. Unquestionably believe that which you stated.
    Your favorite reason seemed to be on the internet the easiest thing
    to be aware of. I say to you, I certainly get annoyed while people think about worries that they
    plainly do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people could
    take a signal. Will probably be back to get more.


  10. Today, I went to the beach front with my kids.

    I found a sea shell and gave it to my 4 year old daughter and
    said “You can hear the ocean if you put this to your ear.” She put
    the shell to her ear and screamed. There was
    a hermit crab inside and it pinched her ear. She never wants
    to go back! LoL I know this is entirely off topic but I had to tell someone!

  11. Nice post. I was checking continuously this blog and I’m impressed!
    Extremely helpful info specially the remaining phase :) I care for such information much.
    I was looking for this certain info for a long time.
    Thanks and best of luck.

  12. Hello there, I do think your website may be having internet browser compatibility issues.
    When I take a look at your blog in Safari, it looks fine however when opening in I.E., it’s
    got some overlapping issues. I merely wanted to provide you with a quick heads up!
    Other than that, excellent blog!

  13. Good day! I could have sworn I’ve been to your blog before but after looking at
    some of the posts I realized it’s new to me. Anyhow, I’m definitely happy I discovered it and I’ll
    be bookmarking it and checking back frequently!

  14. My developer is trying to convince me to move
    to .net from PHP. I have always disliked the idea because of the
    costs. But he’s tryiong none the less. I’ve been using WordPress on a variety of websites for about a year and am
    worried about switching to another platform. I have heard fantastic things about
    Is there a way I can transfer all my wordpress posts into it?
    Any help would be greatly appreciated!

  15. Awesome website you have here but I was curious if you knew of any community forums that cover the same topics talked about in this article?
    I’d really love to be a part of community where I can get responses from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know. Kudos!

  16. I like the valuable information you provide in your articles.
    I will bookmark your blog and check again here regularly.

    I’m quite sure I’ll learn plenty of new stuff right here!
    Best of luck for the next!

  17. Have you ever thought about creating an e-book or guest authoring on other blogs?
    I have a blog based upon on the same subjects you discuss and would love to have you share some
    stories/information. I know my subscribers would value your work.
    If you are even remotely interested, feel free to send me an email.

  18. My spouse and i got quite joyful Peter could do his analysis using the ideas he grabbed from your blog. It’s not at all simplistic to just be freely giving tactics which some other people might have been selling. And we also take into account we need the blog owner to give thanks to for this. All the explanations you have made, the easy website menu, the friendships you can make it possible to engender – it is many awesome, and it’s leading our son in addition to the family reason why the content is satisfying, and that is tremendously indispensable. Many thanks for the whole lot!

  19. Right here is the perfect webpage for everyone who wishes to understand this topic.
    You know so much its almost hard to argue with you (not that I personally would want
    to…HaHa). You certainly put a brand new spin on a topic which has
    been written about for years. Wonderful stuff, just great!

  20. I’m working on a new list. I’m hopeful that this one will be much bigger.
    I made some announcements about my future site plans. I’m going to be adding some new stuff soon. You’ll definitely want to
    stay tuned for that. Thanks for your time and have a good weekend!

  21. I’m not sute exactly whhy but tnis site is loading extremely slow for me.
    Is anyone else having this issue or is it a issue on my end?
    I’ll check back latewr on and see if tthe problem still exists.

  22. Hey there are using WordPress for your site platform?

    I’m new to the blog world but I’m trying to get started and set up my own.
    Do you need any coding expertise to make your own blog?
    Any help would be greatly appreciated!

  23. With havin so much content do you ever run into any problems of plagorism or copyright
    infringement? My website has a lot of exclusive content I’ve either created myself
    or outsourced but it looks like a lot of it is popping it up all over the
    web without my permission. Do you know any solutions to help prevent content from being stolen? I’d definitely appreciate it.

  24. Oh my goodness! Amazing article dude! Thank you so much,
    However I am having difficulties with your RSS. I don’t understand why I
    can’t join it. Is there anybody else getting similar RSS problems?
    Anybody who knows the answer will you kindly respond?

  25. Simply want to say your article is as surprising.
    The clearness to your submit is simply spectacular and i could think you’re an expert
    in this subject. Well along with your permission allow me to seize your feed to keep updated with forthcoming post.

    Thanks a million and please keep up the gratifying work.

  26. Thanks a bunch for sharing this with all
    people you really understand what you are speaking approximately!

    Bookmarked. Kindly also consult with my web site =).
    We may have a link trade arrangement among us

  27. This is very interesting, You’re a very skilled
    blogger. I’ve joined your feed and look forward to seeking more of your magnificent
    post. Also, I have shared your website in my social networks!

  28. After exploring a handful of the blog posts on your web
    page, I honestly appreciate your way of writing a blog.
    I added it to my bookmark website list and will be checking back in the near future.
    Take a look at my website too and let me know your opinion.

  29. I’m not certain where you’re getting your information, however great topic.
    I must spend some time finding out more or figuring out more.
    Thank you for excellent information I used to be on the
    lookout for this info for my mission.

  30. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Appreciate it!

  31. I don’t even know how I stopped up here, however I assumed this post was great.
    I do not recognize who you might be but certainly you are going to a famous blogger when you aren’t already.