mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
version bump
This commit is contained in:
parent
1dad33db49
commit
53694db90b
72
README.md
72
README.md
@ -82,6 +82,20 @@ If you would like to contribute, please...
|
||||
|
||||
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
|
||||
|
||||
#### <a name="v2.21.1">Version 2.21.1</a> (3/10/2015)
|
||||
|
||||
* Core:
|
||||
* Optimize `getColumnData` function.
|
||||
* Use `:last` instead of `.last()` to maintain jQuery v1.2.6 compatibility.
|
||||
* Allow multiple icon class names in the `cssIcon` definition.
|
||||
* Docs
|
||||
* Remove initial sort on first table to avoid confusion.
|
||||
* Miscellaneous tweaks.
|
||||
* Build
|
||||
* Add UMD wrapper to built "jquery.tablesorter.widgets.js" file. Thanks to [nburlett](https://github.com/nburlett) ([pull #837](https://github.com/Mottie/tablesorter/pull/837))!
|
||||
* Scroller
|
||||
* Properly adjust column widths; fixes [issue #836](https://github.com/Mottie/tablesorter/issues/836).
|
||||
|
||||
#### <a name="v2.21.0">Version 2.21.0</a> (3/5/2015)
|
||||
|
||||
* Core
|
||||
@ -120,61 +134,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
|
||||
#### <a name="v2.20.1">Version 2.20.1</a> (2/20/2015)
|
||||
|
||||
* Filter: Fixed a major issue with the filter widget not working properly.
|
||||
|
||||
#### <a name="v2.20.0">Version 2.20.0</a> (2/20/2015)
|
||||
|
||||
* Grunt build process
|
||||
* Added code to use npm & grunt to build a custom widget file.
|
||||
* An `example.json` file has been added as an example of how to set up a custom build file; see the [Customize](https://github.com/Mottie/tablesorter/wiki/Customize) wiki page for more details.
|
||||
* With each build, the following occurs:
|
||||
* `jquery.tablesorter.js` is copied to the `dist/js` folder.
|
||||
* All `less` files are copied to the `dist/css/less` folder.
|
||||
* All images, including the pager icons, is copied into the `dist/css/images` folder.
|
||||
* A `jquery.tablesorter.widgets.js` file is created from the selected widgets into the `dist/js` folder, then copied back to the `js` folder to allow jsFiddle demos to continue working.
|
||||
* A `.min.js` file is created for the core & widget file in the `dist/js` folder, then all parsers & widgets are compressed separately in the `dist/js/parsers` and `dist/js/widgets` folder, respectively.
|
||||
* A `.min.css` file is created for all themes, dragtable, filter-formatter & pager styles.
|
||||
* The black-ice theme within the distribution folder is renamed to `theme.blackice.min.css` (no dash). See [issue #785](https://github.com/Mottie/tablesorter/issues/785).
|
||||
* Files - the following changes to files have been made for the Grunt build process (this might break a few jsFiddle demos):
|
||||
* `jquery.metadata.js` has been moved into the `js/extras` folder.
|
||||
* `jquery.tablesorter.widgets-filter-formatter.js`
|
||||
* moved to the `js/widgets` folder
|
||||
* Broken into two files, and renamed to `widget-filter-formatter-html5.js` and `widget-filter-formatter-jui.js`.
|
||||
* `jquery.tablesorter.widgets-filter-formatter-select2.js`
|
||||
* Moved into the `js/widgets` folder.
|
||||
* Renamed to `widget-filter-formatter-select2.js`
|
||||
* `jquery.tablesorter.widgets.js`
|
||||
* Has been broken up into separate widget files: `widget-column.js`, `widget-filter.js`, `widget-resizable.js`, `widget-saveSort.js`, `widget-stickyHeaders.js`, `widget-storage.js` and `widget-uitheme.js`.
|
||||
* A default build creates a file of the above widgets combined in the `dist/js` folder.
|
||||
* A copy of this newly created combined widget file is then copied back to the `js/` folder to allow external demos (jsFiddle) to still work.
|
||||
* Resolve jQuery unbinding issue
|
||||
* When unbinding events in jQuery versions 1.7 to 1.8, if an event list contains double spaces
|
||||
|
||||
```js
|
||||
$('table').unbind('a b');
|
||||
```
|
||||
|
||||
all events will be removed from that element (see [this demo](http://jsfiddle.net/Mottie/zL6uory0/3/))!
|
||||
* Unbinding of events updated in the Core plugin & pager addon, and the following widgets: cssStickHeaders, editable, filter, formatter, math, staticRow & stickyHeaders.
|
||||
* Modified `config.cache` to only include non-info only tbodies.
|
||||
* This modification effects the core & the following widgets: chart, filter, grouping, pager (widget & addon).
|
||||
* Thanks to [prijutme4ty](https://github.com/prijutme4ty) for working on this change.
|
||||
* See [pull request #822](https://github.com/Mottie/tablesorter/pull/822) for more details.
|
||||
* Core
|
||||
* Add `cssNoSort` option. Add the class name from that option to any element within a header will prevent a click on that element and any containing elements from causing a sort.
|
||||
* Remove `cssAllowClicks` option. It wasn't working as intended and actually prevented sorting. It was replaced by it's opposite, the `cssNoSort` option.
|
||||
* Make core work with jQuery v1.2.6, again.
|
||||
* Make `getElementText` function public; with a bug fix from [prijutme4ty](https://github.com/prijutme4ty) in [pull](https://github.com/Mottie/tablesorter/pull/823).
|
||||
* Docs
|
||||
* Add a [css column & row highlighting demo](http://mottie.github.io/tablesorter/docs/example-css-highlighting.html).
|
||||
* Update jQuery UI & remove "latest" from the file name.
|
||||
* Filter
|
||||
* Prevent javascript error when empty rows (`<tr></tr>`) are included in the tbody. Fixes [issue #819](https://github.com/Mottie/tablesorter/issues/819).
|
||||
* Prevent javascript error when performing an "any-match" search triggered on the table without an included external `data-column="all"` input.
|
||||
* Ensure that an "any-match" search is a string value.
|
||||
* Added "any-match" specific column search by using `#:{query}` where `#` is a one-based column index and `{query}` is the query. Thanks to [MaksimProgr](https://github.com/MaksimProgr) for providing the code in [pull request #817](https://github.com/Mottie/tablesorter/pull/817). This also fixes [issue #747](https://github.com/Mottie/tablesorter/issues/747).
|
||||
* Added `filter_columnAnyMatch` option to allow disabling the "any-match" specific column search.
|
||||
* Pager
|
||||
* Fix initial start page default for the widget only.
|
||||
* Update pager `ajaxProcessing` code demo to prevent unordered JSON keys from adding content to incorrect columns. Fixes [issue #818](https://github.com/Mottie/tablesorter/issues/818).
|
||||
* Parsers
|
||||
* Fix checkbox parser, in the `parser-input-select.js` file, so that it now properly updates when changed.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"version": "2.21.0",
|
||||
"version": "2.21.1",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.2.6"
|
||||
},
|
||||
|
4
dist/js/jquery.tablesorter.js
vendored
4
dist/js/jquery.tablesorter.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.21.0 *//*
|
||||
/*! TableSorter (FORK) v2.21.1 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.21.0';
|
||||
ts.version = '2.21.1';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
4
dist/js/jquery.tablesorter.min.js
vendored
4
dist/js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/jquery.tablesorter.widgets.js
vendored
2
dist/js/jquery.tablesorter.widgets.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) widgets - updated 03-09-2015 (v2.21.0)*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-10-2015 (v2.21.1)*/
|
||||
/* Includes: storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-scroller.min.js
vendored
2
dist/js/widgets/widget-scroller.min.js
vendored
File diff suppressed because one or more lines are too long
@ -519,7 +519,7 @@
|
||||
<li><a href="example-widgets.html">Repeat Headers widget</a> (v2.0.5; <span class="version updated">v2.19.0</span>)</li>
|
||||
<li><span class="results">†</span> <a href="example-widget-resizable.html">Resizable Columns widget</a> (v2.0.23.1; <span class="version updated">v2.19.0</span>)</li>
|
||||
<li><span class="results">†</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27)</li>
|
||||
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.21.0</span>).</li>
|
||||
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.21.1</span>).</li>
|
||||
<li><a href="example-widget-static-row.html">StaticRow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.1</span>).</li>
|
||||
<li><span class="results">†</span> <a href="example-widget-sticky-header.html">Sticky header widget</a> (v2.0.21.1; <span class="version updated">v2.21.0</span>)</li>
|
||||
<li><a href="example-widget-css-sticky-header.html">Sticky header (css3) widget</a> (<span class="version">v2.14.2</span>; <span class="version updated">v2.19.1</span>).</li>
|
||||
@ -728,11 +728,13 @@
|
||||
<td><a href="#" class="permalink">cssIcon</a></td>
|
||||
<td>String</td>
|
||||
<td>"tablesorter-icon"</td>
|
||||
<td>The CSS style used to style the header cell icon (modified v2.7).
|
||||
<td>The CSS style used to style the header cell icon (modified v2.7; <span class="version updated">v2.21.1</span>).
|
||||
<div class="collapsible"><br>
|
||||
As of v2.4, an <code><i></code> element, with this class name, is automatically appended to the header cells. To prevent the plugin from adding an <code><i></code> element to the headers, set the <code>cssIcon</code> option to an empty string.<br>
|
||||
In <span class="version updated">v2.21.1</span>, adding multiple class names to this option is now properly supported.<br>
|
||||
<br>
|
||||
In v2.7, the icon will only be added to the header if <strong>both</strong> the <code>cssIcon</code> option is set AND the <code>headerTemplate</code> option includes the icon tag (<code>{icon}</code>).
|
||||
As of v2.7, the icon will only be added to the header if <strong>both</strong> the <code>cssIcon</code> option is set AND the <a href="#headertemplate"><code>headerTemplate</code></a> option includes the icon tag (<code>{icon}</code>).<br>
|
||||
<br>
|
||||
In v2.4, an <code><i></code> element, with this class name, is automatically appended to the header cells. To prevent the plugin from adding an <code><i></code> element to the headers, set the <code>cssIcon</code> option to an empty string.<br>
|
||||
</div>
|
||||
</td>
|
||||
<td></td>
|
||||
@ -6389,7 +6391,7 @@ widget.format( table, table.config, table.config.widgetOptions );</pre>
|
||||
|
||||
<tr id="function-getcolumndata">
|
||||
<td><a href="#" class="permalink">getColumnData</a></td>
|
||||
<td>This function returns the column data from an object based on a column index or classname/id.
|
||||
<td>This function returns the column data from an object based on a column index or classname/id (<span class="version updated">v2.21.1</span>).
|
||||
<div class="collapsible">
|
||||
<br>
|
||||
Use it as follows:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.21.0 *//*
|
||||
/*! TableSorter (FORK) v2.21.1 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.21.0';
|
||||
ts.version = '2.21.1';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-09-2015 (v2.21.0)*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-10-2015 (v2.21.1)*/
|
||||
/* Includes: storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.21.0",
|
||||
"version": "2.21.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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.21.0",
|
||||
"version": "2.21.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",
|
||||
|
Loading…
Reference in New Issue
Block a user