> You can use:
> $().jquery
Currently that only contains the SVN revision number - which is hardly
ideal. To make sure that your plugin is using jQuery 1.0, for example,
you can do:
// Rev 231 is jQuery 1.0
if ( parseInt( jQuery.fn.jquery ) >= 231 ) {
// Do your 1.0 code here
}
I do want to add in a solid revision number soon, so that you can just say:
if ( jQuery.version >= 1.0 ) {
...
}
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/