version bump & cleanup

This commit is contained in:
Mottie 2013-12-02 13:26:31 -06:00
parent 66ec824691
commit d81d64f418
11 changed files with 60 additions and 33 deletions

View File

@ -44,6 +44,35 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
#### <a name="v2.14.3">Version 2.14.3</a> (12/2/2013)
* Core
* Refreshing widgets now only applies to previously installed widgets. Fixes [issue #442](https://github.com/Mottie/tablesorter/issues/442).
* Pager
* Ajax arrays now accept html instead of cell contents, e.g. `<td class="red">- 10</td>`. Thanks [@christhomas](https://github.com/christhomas); fixes [issue #434](https://github.com/Mottie/tablesorter/pull/434).
* Add ajax counter to only allow the most recent request to process. Thanks [@christhomas](https://github.com/christhomas); fixes [issue #443](https://github.com/Mottie/tablesorter/pull/443).
* When filtering rows, the output will now show zeros for row &amp; page counts instead of empty strings.
* No more `fixedHeight` pager errors. Thanks [@hempel](https://github.com/hempel); fixes [issue #448](https://github.com/Mottie/tablesorter/issues/448).
* Filter widget
* Exact filter matches now properly override other queries. Fixes [issue #441](https://github.com/Mottie/tablesorter/issues/441).
* Reverse range `20 - 10` work properly, again. See [issue #441](https://github.com/Mottie/tablesorter/issues/441).
* Updated docs to show the filter precendence. See [footnote (2) under Notes](http://mottie.github.io/tablesorter/docs/example-widget-filter.html).
* Sticky Headers widget
* Now uses the filter widget `bindSearch` function allowing live search, delayed searching and escape to cancel on sticky header filters.
* Thanks to [@haraldkrischner](https://github.com/haraldkrischner) for his help!
* Fixes issues [#439](https://github.com/Mottie/tablesorter/issues/439) &amp; [#440](https://github.com/Mottie/tablesorter/pull/440).
* CSS Sticky Headers widget (beta)
* Now works properly in IE9+.
* Thanks [@gakreol](https://github.com/gakreol)
* Fixes [issue #447](https://github.com/Mottie/tablesorter/issues/447).
* Added Semantic version sorting demo
* See the [demo here](http://mottie.github.io/tablesorter/docs/example-option-textsorter-semver.html).
* This demo does not use a custom parser nor widget, it requires a modified [`semver.js` for node](https://github.com/isaacs/node-semver) file to sort the column using the `textSorter` option.
* The modified `semver-mod.js` file is contained within the new "extras" folder (tablesorter/js/extras) along with the original unmodified `semver.js` file.
* Extra code is also included to highlight invalid semantic versions within the table.
* Fixes [issue #395](https://github.com/Mottie/tablesorter/issues/395).
* Sorry I didn't get around to finding solutions for some of the other issues that I promised to have done this patch :(
#### <a name="v2.14.2">Version 2.14.2</a> (11/25/2013)
* Removed Bootstrap filter cell background color. Fixes [issue #425](https://github.com/Mottie/tablesorter/issues/425).

View File

@ -1,6 +1,6 @@
/*!
* tablesorter pager plugin
* updated 11/22/2013 (v2.14.1)
* updated 12/2/2013 (v2.14.3)
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {
@ -284,7 +284,7 @@
tds += '<tr>';
for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells; watch for data containing HTML markup - see #434
tds += /^\s*\<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
tds += /^\s*<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
}
tds += '</tr>';
}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.14.2",
"version": "2.14.3",
"dependencies": {
"jquery": ">=1.2.6"
}

View File

@ -1,5 +1,5 @@
/**!
* TableSorter 2.14.2 - Client-side table sorting with ease!
* TableSorter 2.14.3 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@ -24,7 +24,7 @@
var ts = this;
ts.version = "2.14.2";
ts.version = "2.14.3";
ts.parsers = [];
ts.widgets = [];

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tableSorter 2.8+ widgets - updated 11/24/2013 (v2.14.2)
/*! tableSorter 2.8+ widgets - updated 12/2/2013 (v2.14.3)
*
* Column Styles
* Column Filters
@ -605,7 +605,7 @@ ts.filter = {
});
if (wo.filter_hideFilters) {
ts.filter.hideFilters(table, c, wo);
ts.filter.hideFilters(table, c);
}
// show processing icon
@ -767,7 +767,7 @@ ts.filter = {
return false;
}
},
hideFilters: function(table, c, wo) {
hideFilters: function(table, c) {
var $filterRow, $filterRow2, timer;
c.$table
.find('.tablesorter-filter-row')
@ -1085,7 +1085,6 @@ ts.addWidget({
$stickyCells,
laststate = '',
spacing = 0,
updatingStickyFilters = false,
nonwkie = $table.css('border-collapse') !== 'collapse' && !/(webkit|msie)/i.test(navigator.userAgent),
resizeHeader = function() {
stickyOffset = $stickyOffset.length ? $stickyOffset.height() || 0 : parseInt(wo.stickyHeaders_offset, 10) || 0;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/* Pager widget (beta) for TableSorter 11/9/2013 (v2.14.1) */
/* Pager widget (beta) for TableSorter 12/2/2013 (v2.14.3) */
/*jshint browser:true, jquery:true, unused:false */
;(function($){
"use strict";
@ -470,7 +470,7 @@ tsp = ts.pager = {
tds += '<tr>';
for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells; watch for data containing HTML markup - see #434
tds += /^\s*\<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
tds += /^\s*<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
}
tds += '</tr>';
}

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.14.2",
"version": "2.14.3",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.14.2",
"version": "2.14.3",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",