version bump

This commit is contained in:
Mottie 2014-05-28 19:18:37 -05:00
parent 5ce66aebfe
commit c09945c60c
14 changed files with 67 additions and 48 deletions

View File

@ -60,6 +60,31 @@ 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.17.1">Version 2.17.1</a> (5/28/2014)
* Docs:
* Add some missing examples &amp; updated some version number comments for the last update
* Reflow widget: Fix demo to use preset widths &amp; css transitions instead of forcing users to manually resize the examples.
* Output widget: add note about modifying the `.htaccess` file to enable downloading in both IE &amp; Firefox.
* Core
* Allow use of select &amp; buttons within header cells. Previously only inputs were allowed. Fixes [issue #625](https://github.com/Mottie/tablesorter/issues/625).
* Add `parser-false` setting to prevent extracting &amp; parsing of content from set columns. Fixes [issue #629](https://github.com/Mottie/tablesorter/issues/629).
* Filter widget
* Add a not-exact-match (`!=`) filter type (e.g. `!"Bruce"` or `!Bruce=` will show all rows that don't exactly match `Bruce`). See [issue #628](https://github.com/Mottie/tablesorter/issues/628).
* Math widget
* Values are now obtained from data-attributes first, then the actual cell content. This will allow making calculations with higher precision values. Fixes [issue #624](https://github.com/Mottie/tablesorter/issues/624).
* Pager (addon &amp; widget)
* The `ajaxProcessing` function now includes the jqxhr parameter. Thanks [JuarezTurrini](https://github.com/JuarezTurrini)! See [pull #626](https://github.com/Mottie/tablesorter/pull/626)
* Update the custom controls example to properly work with the pager widget. Fixes [issue #631](https://github.com/Mottie/tablesorter/issues/631).
* Fix widgets sometimes not being applied after page change.
* Parser
* input-select parser no longer binds to non-tablesorter tables. Fixes [issue #633](https://github.com/Mottie/tablesorter/issues/633).
#### <a name="v2.17.0">Version 2.17.0</a> (5/22/2014)
* Overall
@ -276,9 +301,3 @@ View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Chan
* Check for filters before trying to set focus. Fixes [issue #594](https://github.com/Mottie/tablesorter/issues/594).
* Add `stickyHeaders_filteredToTop` option. Fixes [issue #570](https://github.com/Mottie/tablesorter/issues/570).
* Input select parser: don't update columns with both sorter &amp; filter disabled. See [issue #570](https://github.com/Mottie/tablesorter/issues/570).
#### <a name="v2.16.1">Version 2.16.1</a> (4/24/2014)
* Core:
* Fixed an issue where ajax loaded data would cause a javascript error because of improper ignoring of data.
* Ajax loaded data will now be parsed and cached - so stuff like the grouping widget will work properly.

View File

@ -1,6 +1,6 @@
/*!
* tablesorter pager plugin
* updated 5/22/2014 (v2.17.0)
* updated 5/28/2014 (v2.17.1)
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {

File diff suppressed because one or more lines are too long

View File

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

View File

@ -2976,8 +2976,8 @@ $.extend($.tablesorter.themes.jui, {
.tablesorter()
.tablesorterPager({
ajaxUrl: "http://mydatabase.com?page={page}&amp;size={size}&amp;{sortList:col}&amp;{filterList:fcol}",
ajaxProcessing: function(ajax){
// do something with the ajax
ajaxProcessing: function(data, table, xhr){
// do something with the ajax data
return [ formatted_data, total_rows ];
}
});
@ -3023,8 +3023,8 @@ $.extend($.tablesorter.themes.jui, {
.tablesorter()
.tablesorterPager({
ajaxUrl: "http://mydatabase.com?page={page}&amp;size={size}&amp;{sortList:col}&amp;{filterList:fcol}",
ajaxProcessing: function(ajax){
// do something with the ajax
ajaxProcessing: function(data, table, xhr){
// do something with the ajax data
return [ formatted_data, total_rows ];
},
// modify the url after all processing has been applied
@ -3061,8 +3061,8 @@ $.extend($.tablesorter.themes.jui, {
// see http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings
dataType: 'json'
},
ajaxProcessing: function(ajax){
// do something with the ajax;
ajaxProcessing: function(data, table, xhr){
// do something with the ajax data;
return [ total_rows ];
}
});
@ -3130,7 +3130,7 @@ $.extend($.tablesorter.themes.jui, {
.tablesorter()
.tablesorterPager({
ajaxUrl: "http://mydatabase.com?page={page}&amp;size={size}",
ajaxProcessing: function(data){
ajaxProcessing: function(data, table, xhr){
if (data && data.hasOwnProperty('rows')) {
var r, row, c, d = data.rows,
// total number of rows (required)
@ -3158,7 +3158,7 @@ $.extend($.tablesorter.themes.jui, {
}
});
});</pre>Or, in tablesorter <span class="version">v2.10</span>, return a jQuery object
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table){
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table, xhr){
if (data && data.hasOwnProperty('rows')) {
var r, row, c, d = data.rows,
// total number of rows (required)
@ -3186,7 +3186,7 @@ $.extend($.tablesorter.themes.jui, {
return [ total, $(rows), headers ];
}
}</pre>Or, also in tablesorter <span class="version">v2.10</span>, just build the table yourself and return the total number of rows:
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table){
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table, xhr){
if (data && data.hasOwnProperty('rows')) {
var r, row, c, d = data.rows,
// total number of rows (required)
@ -3224,7 +3224,7 @@ So, lets say the data sent by the server looks like this:
"tasty" : "It's delicious!"
}</pre>
This ajaxProcessing function must return an object with "total", "headers" and "rows" properties! As before, "total" is the only required property; if the headers don't need to be changed, don't return a headers array, and if you append the rows to the table yourself within the ajaxProcessing function, you don't need to return a "rows" property.
<pre class="prettyprint lang-js">ajaxProcessing: function(result, table){
<pre class="prettyprint lang-js">ajaxProcessing: function(result, table, xhr){
if (result && result.hasOwnProperty('data')) {
// "total" is a required property!

View File

@ -1,5 +1,5 @@
/**!
* TableSorter 2.17.0 - Client-side table sorting with ease!
* TableSorter 2.17.1 - 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.17.0";
ts.version = "2.17.1";
ts.parsers = [];
ts.widgets = [];
@ -953,7 +953,7 @@
e.stopPropagation();
ts.destroy(table, c, cb);
})
.bind("resetToLoadState" + c.namespace, function(e){
.bind("resetToLoadState" + c.namespace, function(){
// remove all widgets
ts.refreshWidgets(table, true, true);
// restore original settings; this clears out current settings, but does not clear
@ -1641,7 +1641,7 @@
is: function() {
return false;
},
format: function(s) {
format: function() {
return '';
},
type: 'text'

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tableSorter 2.16+ widgets - updated 5/22/2014 (v2.17.0)
/*! tableSorter 2.16+ widgets - updated 5/28/2014 (v2.17.1)
*
* Column Styles
* Column Filters

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*! input & select parsers for jQuery 1.7+ & tablesorter 2.7.11+
* Updated 4/27/2014 (v2.16.2)
* Updated 5/28/2014 (v2.17.1)
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
*/
/*jshint browser: true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/*! tablesorter math widget - beta - updated 5/22/2014 (v2.17.0)
/*! tablesorter math widget - beta - updated 5/28/2014 (v2.17.1)
* Requires tablesorter v2.16+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Pager widget (beta) for TableSorter 5/22/2014 (v2.17.0) */
/* Pager widget (beta) for TableSorter 5/28/2014 (v2.17.1) */
/*jshint browser:true, jquery:true, unused:false */
;(function($){
"use strict";

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.17.0",
"version": "2.17.1",
"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.17.0",
"version": "2.17.1",
"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",