-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken jQuery version compatibility #124
Comments
Thanks, I did notice this while working on v2.4... I need find a way to detect if jQuery supports data objects before trying to use them. |
does anyone really still need/use jquery versions that old? its 3? years old |
Unfortunately, somebody is stuck with Drupal 6, which has a built in support for jQuery 1.3 at most... |
people can just use an older version of tablesorter if they need some specific compatibility (in lieu of not having the latest and greatest features). if you are going to run 3+ year old jquery/drupal/whatever, i dont think its too much to expect them to run an older version of tablesorter as well. for the same reasons we shouldnt support ie6/7 anymore.. we shouldn't punish others and restrict development due to some ancient browser/code that no one uses anymore.. but anyways we are aware of the jquery version and hope to get everything sorted out as the core requires one version.. then a plugin and or plugin options requires a different min version.. thus we really just need a matrix or bump that whole plugin to use the highest possible (which may be a little off). then you also have things like the saveSort which uses localStorage (html5) but can fallback to cookie (if the user includes.. we dont provide it). |
Version 2.4 is now live. Hopefully I've taken care of the incompatibility issues with the core and jQuery v1.2.6. The widgets now have a compatibility table showing which ones require which jQuery version. Sadly, the filter widget still uses the |
Current doc says "Required: jQuery (1.2.6 or higher;..", but it seems that the current release of tablesorter is not supported by jQuery release prior to 1.4.3.
In fact, at lines 750,751 and 964 of the TableSorter version 2.3.11, the method .data() is invoked with no arguments, and this signature is supported starting from jQuery 1.4.3 (see http://api.jquery.com/data/)
The same happens for the Filter widget, which uses .nextUntil(), added to jQuery since version 1.4 (see http://api.jquery.com/nextUntil/)
The text was updated successfully, but these errors were encountered: