Merge branch 'master' into gh-pages

This commit is contained in:
Rob Garrison 2018-04-30 16:55:49 -05:00
commit 78f20828c5
13 changed files with 35 additions and 28 deletions

View File

@ -104,6 +104,13 @@ If you would like to contribute, please...
View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes). View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.30.3">Version 2.30.3</a> (2018-03-30)
* Core:
* Use indexed headers. Fixes [issue #1524](https://github.com/Mottie/tablesorter/issues/1524).
* Docs:
* Remove link preload because it isn't supported in Firefox.
#### <a name="v2.30.2">Version 2.30.2</a> (2018-03-26) #### <a name="v2.30.2">Version 2.30.2</a> (2018-03-26)
* Core: * Core:

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 2018-04-26 (v2.30.2)*/ /*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */ /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) { (function(factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
@ -10,7 +10,7 @@
} }
}(function(jQuery) { }(function(jQuery) {
/*! TableSorter (FORK) v2.30.2 *//* /*! TableSorter (FORK) v2.30.3 *//*
* Client-side table sorting with ease! * Client-side table sorting with ease!
* @requires jQuery v1.2.6+ * @requires jQuery v1.2.6+
* *
@ -34,7 +34,7 @@
'use strict'; 'use strict';
var ts = $.tablesorter = { var ts = $.tablesorter = {
version : '2.30.2', version : '2.30.3',
parsers : [], parsers : [],
widgets : [], widgets : [],
@ -532,7 +532,7 @@
$cell = ts.getClosest( $( this ), '.' + ts.css.header ); $cell = ts.getClosest( $( this ), '.' + ts.css.header );
// use column index from data-attribute or index of current row; fixes #1116 // use column index from data-attribute or index of current row; fixes #1116
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index(); c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
cell = c.$headers[ c.last.clickedIndex ]; cell = c.$headerIndexed[ c.last.clickedIndex ];
if ( cell && !cell.sortDisabled ) { if ( cell && !cell.sortDisabled ) {
ts.initSort( c, cell, e ); ts.initSort( c, cell, e );
} }

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
} }
}(function(jQuery) { }(function(jQuery) {
/*! TableSorter (FORK) v2.30.2 *//* /*! TableSorter (FORK) v2.30.3 *//*
* Client-side table sorting with ease! * Client-side table sorting with ease!
* @requires jQuery v1.2.6+ * @requires jQuery v1.2.6+
* *
@ -32,7 +32,7 @@
'use strict'; 'use strict';
var ts = $.tablesorter = { var ts = $.tablesorter = {
version : '2.30.2', version : '2.30.3',
parsers : [], parsers : [],
widgets : [], widgets : [],
@ -530,7 +530,7 @@
$cell = ts.getClosest( $( this ), '.' + ts.css.header ); $cell = ts.getClosest( $( this ), '.' + ts.css.header );
// use column index from data-attribute or index of current row; fixes #1116 // use column index from data-attribute or index of current row; fixes #1116
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index(); c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
cell = c.$headers[ c.last.clickedIndex ]; cell = c.$headerIndexed[ c.last.clickedIndex ];
if ( cell && !cell.sortDisabled ) { if ( cell && !cell.sortDisabled ) {
ts.initSort( c, cell, e ); ts.initSort( c, cell, e );
} }

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 2018-04-26 (v2.30.2)*/ /*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */ /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) { (function(factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {

File diff suppressed because one or more lines are too long

View File

@ -9,13 +9,13 @@
#banner h1 em {color:#6cf;} #banner h1 em {color:#6cf;}
.main-nav {display:none;} .main-nav {display:none;}
</style> </style>
<link href="css/bootstrap-v3.min.css" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="css/bootstrap-v3.min.css" rel="stylesheet">
<link href="css/jquery-ui.min.css" class="ui-theme" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="css/jquery-ui.min.css" class="ui-theme" rel="stylesheet">
<link href="css/jq.css" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="css/jq.css" rel="stylesheet">
<link href="css/menu.css" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="css/menu.css" rel="stylesheet">
<link href="css/prettify.css" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="css/prettify.css" rel="stylesheet">
<link href="../css/theme.blue.css" rel="preload" as="style" onload="this.rel='stylesheet'"> <link href="../css/theme.blue.css" rel="stylesheet">
</head> </head>
<body id="root"> <body id="root">

View File

@ -4,7 +4,7 @@
*/ */
/*! tablesorter (FORK) - updated 2018-04-26 (v2.30.2)*/ /*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */ /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) { (function(factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
@ -16,7 +16,7 @@
} }
}(function(jQuery) { }(function(jQuery) {
/*! TableSorter (FORK) v2.30.2 *//* /*! TableSorter (FORK) v2.30.3 *//*
* Client-side table sorting with ease! * Client-side table sorting with ease!
* @requires jQuery v1.2.6+ * @requires jQuery v1.2.6+
* *
@ -40,7 +40,7 @@
'use strict'; 'use strict';
var ts = $.tablesorter = { var ts = $.tablesorter = {
version : '2.30.2', version : '2.30.3',
parsers : [], parsers : [],
widgets : [], widgets : [],
@ -538,7 +538,7 @@
$cell = ts.getClosest( $( this ), '.' + ts.css.header ); $cell = ts.getClosest( $( this ), '.' + ts.css.header );
// use column index from data-attribute or index of current row; fixes #1116 // use column index from data-attribute or index of current row; fixes #1116
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index(); c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
cell = c.$headers[ c.last.clickedIndex ]; cell = c.$headerIndexed[ c.last.clickedIndex ];
if ( cell && !cell.sortDisabled ) { if ( cell && !cell.sortDisabled ) {
ts.initSort( c, cell, e ); ts.initSort( c, cell, e );
} }

View File

@ -1,4 +1,4 @@
/*! TableSorter (FORK) v2.30.2 *//* /*! TableSorter (FORK) v2.30.3 *//*
* Client-side table sorting with ease! * Client-side table sorting with ease!
* @requires jQuery v1.2.6+ * @requires jQuery v1.2.6+
* *
@ -22,7 +22,7 @@
'use strict'; 'use strict';
var ts = $.tablesorter = { var ts = $.tablesorter = {
version : '2.30.2', version : '2.30.3',
parsers : [], parsers : [],
widgets : [], widgets : [],
@ -520,7 +520,7 @@
$cell = ts.getClosest( $( this ), '.' + ts.css.header ); $cell = ts.getClosest( $( this ), '.' + ts.css.header );
// use column index from data-attribute or index of current row; fixes #1116 // use column index from data-attribute or index of current row; fixes #1116
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index(); c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
cell = c.$headers[ c.last.clickedIndex ]; cell = c.$headerIndexed[ c.last.clickedIndex ];
if ( cell && !cell.sortDisabled ) { if ( cell && !cell.sortDisabled ) {
ts.initSort( c, cell, e ); ts.initSort( c, cell, e );
} }

View File

@ -4,7 +4,7 @@
*/ */
/*! tablesorter (FORK) - updated 2018-04-26 (v2.30.2)*/ /*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */ /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) { (function(factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {

View File

@ -1,7 +1,7 @@
{ {
"name": "tablesorter", "name": "tablesorter",
"title": "tablesorter", "title": "tablesorter",
"version": "2.30.2", "version": "2.30.3",
"description": "tablesorter (FORK) 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.", "description": "tablesorter (FORK) 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.",
"author": { "author": {
"name": "Christian Bach", "name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{ {
"name": "tablesorter", "name": "tablesorter",
"title": "tablesorter", "title": "tablesorter",
"version": "2.30.2", "version": "2.30.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.", "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": { "author": {
"name": "Christian Bach", "name": "Christian Bach",