Forum Moderators: open

Message Too Old, No Replies

Will Two Versions of JQuery Files Cause Conflict?

jQuery v1.9.1 and v1.6.4

         

martinibuster

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

WebmasterWorld Administrator 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?

Fotiman

8:05 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ 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...]

martinibuster

8:14 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Administrator 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?

Fotiman

9:10 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That's how I would approach it.

martinibuster

9:38 pm on Jun 3, 2014 (gmt 0)

WebmasterWorld Administrator 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.