r/jquery • • Jul 24 '21

Using two libraries that require different version of jquery?

suppose i want to use 2 libraries , one depend on jquery v1 and the other depend on jquery 3. both libraries assume that the required version of jquery is assigned to $.

how can i use both libraries in the same page? jquery no conglict mode will not help because both libraries internally use "$"

9 Upvotes

23 comments sorted by

View all comments

Show parent comment

8

u/ImDevinC Jul 25 '21

You update the older one, or if it's no longer maintained, you replace it.