jQuery version dependancy in plugins
Hi,
I know this subject has been discussed from the point of view that
plugins depend on other plugins ( http://tinyurl.com/3tbvnv ), but
what I'm suggesting is an intermediate step.
The jQuery UI was upgraded to 1.5b2 and inadvertently it now depends
on jQuery 1.2.4a. It took me some time to work out this was the cause
of the problem.
What are people's thoughts on including a dependancy on N version of
jQuery (or greater than) to plugins?
I've mocked together the code: http://codedumper.com/jquery-requires
The only problem I see is it needs to be part of the main jquery.js
file. However, it's a small change that makes for better
compatibility.
I'd appreciate your thoughts.
Cheers,
Remy
blog ~ remysharp.com
twitter ~ twitter.com/rem
project ~ jqueryfordesigners.com