Welcome to WebmasterWorld Guest from 54.162.141.212

Forum Moderators: open

Message Too Old, No Replies

Will Two Versions of JQuery Files Cause Conflict?

jQuery v1.9.1 and v1.6.4

     
7:47 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Gawd, sounds like a dumb question. Never had to deal with this before.

I have a template that calls
ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js

I'm thinking of installing an add-on to my site that asks me to add jQuery v1.9.1

My nightmare is that adding v1.1.91 will break what's relying on jQuery JavaScript Library v1.6.4.

Should I worry? Possible something will break?
8:05 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



It really depends on what features of 1.6.4 you're currently using. There is a pretty comprehensive list, though, that you can use to determine if upgrading might cause you problems:
[jquery.com...]
8:14 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Ok, reviewed that page. So if I search for the affected functions listed here [jquery.com] and do a Find-All of my entire code and discover that none of my files require the affected functions, I should be fine?
9:10 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



That's how I would approach it.
9:38 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Thanks! That's easier than blowing up the site then having to squeeze it all back into the tube.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month