diff --git a/README.md b/README.md index 0eda1e17..7102318e 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,42 @@ If you would like to contribute, please... View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes). +#### Version 2.25.5 (3/1/2016) + +* Global: + * Replace array push functions in main loops. +* Docs: + * Update storage widget changes. + * Various corrections. +* Editable: + * Fix lint issue. + * Replace pasted content with plain text. Fixes [issue #994](https://github.com/Mottie/tablesorter/issues/994). +* Filter: + * Correctly use parsed data when set. Fixes [issue #502](https://github.com/Mottie/tablesorter/issues/502). + * Add `filter_matchType` option. Fixes [issue #1170](https://github.com/Mottie/tablesorter/issues/1170). +* Group: + * Use non-cached variables when added after core init. Fixes [issue #1158](https://github.com/Mottie/tablesorter/issues/1158). +* Math: + * General cleanup & optimization. + * Leave table in place or filter input lost. Fixes [issue #903](https://github.com/Mottie/tablesorter/issues/903). +* Print: + * Stop print event propagation from nested tables. Fixes [issue #1160](https://github.com/Mottie/tablesorter/issues/1160). +* Scroller: + * Move caption to cloned `thead`. Fixes [issue #1141](https://github.com/Mottie/tablesorter/issues/1141). + * Update to remove vertical scroll. See [pull #1165](https://github.com/Mottie/tablesorter/pull/1165); thanks [jasongabel](https://github.com/jasongabel)! + * Fix js error when no caption exists, oops! See [issue #1141](https://github.com/Mottie/tablesorter/issues/1141). + * Tweak code from [pull #1165](https://github.com/Mottie/tablesorter/pull/1165) to allow setting `scroller_height` to zero. Fixes [issue #907](https://github.com/Mottie/tablesorter/issues/907). +* StickyHeaders: + * Fixed memory leak in StickyHeaders. See [pull #1162](https://github.com/Mottie/tablesorter/pull/1162); thanks [Drumsticks1](https://github.com/Drumsticks1)! + * Modified StickyHeader widget for better performance. See [pull #1164](https://github.com/Mottie/tablesorter/pull/1164); thanks [Drumsticks1](https://github.com/Drumsticks1)! +* Storage: + * Allow setting a falsy value. Fixes [issue #1163](https://github.com/Mottie/tablesorter/issues/1163). +* Parser: + * Add huge number parser. See [issue #1161](https://github.com/Mottie/tablesorter/issues/1161). + * Huge number correction (make JSCS happy). +* Build: + * Update dependencies. Several times! + #### Version 2.25.4 (2/15/2016) * Core: @@ -125,16 +161,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes * Add clarification about hiding columns. See [issue #1133](https://github.com/Mottie/tablesorter/issues/1133). * Build: * Update dependencies. - -#### Version 2.25.2 (1/15/2016) - -* Docs: - * Update main demo & test to use jQuery 3.0.0-beta. -* Core: - * Revert extra header class name updating. See [issue #1116](https://github.com/Mottie/tablesorter/issues/1116). -* Filter: - * Add `filter_resetOnEsc` option. See [issue #1126](https://github.com/Mottie/tablesorter/issues/1126). -* Output: - * `output_saveRows` now accpets a [filter callback function](http://api.jquery.com/filter/#filter-function). -* Parsers: - * checkbox value should no longer change. Fixes [issue #1125](https://github.com/Mottie/tablesorter/issues/1125). diff --git a/dist/js/jquery.tablesorter.combined.js b/dist/js/jquery.tablesorter.combined.js index 777bb051..698fdd13 100644 --- a/dist/js/jquery.tablesorter.combined.js +++ b/dist/js/jquery.tablesorter.combined.js @@ -1,4 +1,4 @@ -/*! tablesorter (FORK) - updated 02-15-2016 (v2.25.4)*/ +/*! tablesorter (FORK) - updated 03-01-2016 (v2.25.5)*/ /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */ (function(factory) { if (typeof define === 'function' && define.amd) { @@ -10,7 +10,7 @@ } }(function($) { -/*! TableSorter (FORK) v2.25.4 *//* +/*! TableSorter (FORK) v2.25.5 *//* * Client-side table sorting with ease! * @requires jQuery v1.2.6+ * @@ -33,7 +33,7 @@ 'use strict'; var ts = $.tablesorter = { - version : '2.25.4', + version : '2.25.5', parsers : [], widgets : [], @@ -745,7 +745,7 @@ } } if ( add ) { - ts.parsers.push( parser ); + ts.parsers[ ts.parsers.length ] = parser; } }, @@ -965,7 +965,7 @@ } // ensure rowData is always in the same location (after the last column) cols[ c.columns ] = rowData; - cache.normalized.push( cols ); + cache.normalized[ cache.normalized.length ] = cols; } cache.colMax = colMax; // total up rows, not including child rows @@ -1034,9 +1034,9 @@ }); } if ( result !== false ) { - data.parsed.push( parsed ); - data.raw.push( raw ); - data.$cell.push( $cell ); + data.parsed[ data.parsed.length ] = parsed; + data.raw[ data.raw.length ] = raw; + data.$cell[ data.$cell.length ] = $cell; } } } @@ -1225,7 +1225,7 @@ } primary = indx === 0 ? dir : primary; group = [ col, parseInt( dir, 10 ) || 0 ]; - c.sortList.push( group ); + c.sortList[ c.sortList.length ] = group; dir = $.inArray( group[ 1 ], order ); // fixes issue #167 c.sortVars[ col ].count = dir >= 0 ? dir : group[ 1 ] % ( c.sortReset ? 3 : 2 ); } @@ -1324,7 +1324,7 @@ }, addRows : function( c, $row, resort, callback ) { - var txt, val, tbodyIndex, rowIndex, rows, cellIndex, len, + var txt, val, tbodyIndex, rowIndex, rows, cellIndex, len, order, cacheIndex, rowData, cells, cell, span, // allow passing a row string if only one non-info tbody exists in the table valid = typeof $row === 'string' && c.$tbodies.length === 1 && /