Merge branch 'master' into gh-pages

This commit is contained in:
Rob Garrison 2016-12-16 04:31:08 -06:00
commit 379faf9f6e
13 changed files with 36 additions and 18 deletions

View File

@ -425,6 +425,10 @@ module.exports = function( grunt ) {
grunt.task.run(tasks);
});
function escapeRegExp(str) {
return str.replace(/[$()*+\-.\/?[\\\]^{|}]/g, "\\$&");
}
// update tablesorter.jquery.json file version numbers to match the package.json version
grunt.registerTask( 'updateManifest', function() {
var i, project,
@ -439,6 +443,16 @@ module.exports = function( grunt ) {
project.version = pkg.version;
grunt.file.write( projectFile[i], JSON.stringify( project, null, 2 ) ); // serialize it back to file
}
// check internal version number
project = grunt.file.read('js/jquery.tablesorter.js');
if (
new RegExp(escapeRegExp('/*! TableSorter (FORK) v' + pkg.version)).test(project) &&
new RegExp(escapeRegExp("version : '" + pkg.version)).test(project)
) {
console.info('versions all match!');
} else {
grunt.log.writeln('\n**** version mismatch! ****'['red'].bold);
}
});
};

View File

@ -103,6 +103,10 @@ If you would like to contribute, please...
View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.28.3">Version 2.28.3</a> (12/16/2016)
* Core: Fix internal version numbering.
#### <a name="v2.28.2">Version 2.28.2</a> (12/15/2016)
* ColumnSelector:

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 12-15-2016 (v2.28.2)*/
/*! tablesorter (FORK) - updated 12-16-2016 (v2.28.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -10,7 +10,7 @@
}
}(function(jQuery) {
/*! TableSorter (FORK) v2.28.1 *//*
/*! TableSorter (FORK) v2.28.3 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -34,7 +34,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.28.1',
version : '2.28.3',
parsers : [],
widgets : [],

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
}
}(function(jQuery) {
/*! TableSorter (FORK) v2.28.1 *//*
/*! TableSorter (FORK) v2.28.3 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -32,7 +32,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.28.1',
version : '2.28.3',
parsers : [],
widgets : [],

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 12-15-2016 (v2.28.2)*/
/*! tablesorter (FORK) - updated 12-16-2016 (v2.28.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 12-15-2016 (v2.28.2)*/
/*! tablesorter (FORK) - updated 12-16-2016 (v2.28.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -16,7 +16,7 @@
}
}(function(jQuery) {
/*! TableSorter (FORK) v2.28.1 *//*
/*! TableSorter (FORK) v2.28.3 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -40,7 +40,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.28.1',
version : '2.28.3',
parsers : [],
widgets : [],

View File

@ -1,4 +1,4 @@
/*! TableSorter (FORK) v2.28.1 *//*
/*! TableSorter (FORK) v2.28.3 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -22,7 +22,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.28.1',
version : '2.28.3',
parsers : [],
widgets : [],

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 12-15-2016 (v2.28.2)*/
/*! tablesorter (FORK) - updated 12-16-2016 (v2.28.3)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {

View File

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

View File

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