Page 1 of 1

Avoiding multiple jQuery files?

Posted: Thu Jul 07, 2011 1:37 am
by candie111
With more and more MODs making use of jQuery, has anyone come up with a way to prevent having a build up of redundant links to jquery,js in the overall_header.html?

Potential problems are people adding MODs could have multiple links to jquery.js files in their headers, or links to different versions of jquery.js files too.

Is there any idea how to prevent or notify admin's installing MODs how to make sure they only have one jquery file, even though they may have installed multiple MODs that use and include jQuery??

Re: Avoiding multiple jQuery files?

Posted: Fri Jul 08, 2011 1:18 am
by cisco007
what i have done is if multiple mods use some kind of jquery, remove all those similar lines and just leave one jquery, most code is the same and the mods should work!