Closed (won't fix)
Project:
jQuery Update
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2012 at 19:31 UTC
Updated:
8 Mar 2017 at 16:39 UTC
Jump to comment: Most recent
Comments
Comment #1
markhalliwellWhile it sounds good, in theory, it's not very practical... especially from a client side resource loading perspective. Considering that each version of jQuery is, on average, about 150k in size (non-minified/compressed), this could run the risk of of severely bogging down a site's page load/response time.
Never mind the pure logistical nightmare of figuring out a way to "wrap" each provided module's JS to ensure it uses the proper jQuery "version".
No, I'd much rather just push back on the module/theme developers to understand that they have to be aware of supporting multiple versions of jQuery (at least in 7.x).
Furthermore jQuery Migrate (#2156881: Support (optionally) the use of the jQuery Migrate Plugin) was added which can help remedy a lot of these issues.