jquery-tablesorter 1.22.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/jquery-tablesorter/version.rb +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.combined.js +5 -5
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +4 -4
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-mark.js +13 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5bf001ed70299eae9f6ffd84a1878ee97720de1
|
4
|
+
data.tar.gz: 7e41fa76354dacaa78786aad45c2d11e4a5cd7a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3f5c1f4e9ac6fe2fbf3839dd377fa2d10430c901a45925fadcc54394629b0ebf006c7032be0e54a325bb9f62e9aca8d9bb2239f510f3d2541cbe2298a8a596
|
7
|
+
data.tar.gz: 4fcc3afc79a9ea41f9d43b680a8f674fb4541107afd52d75787e252ef5b9e408bc665f8e5edf7449847af96fc79ea7c84f27f6d09ecf7efe38a0ddc20a3986c7
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Simple integration of jquery-tablesorter into the asset pipeline.
|
6
6
|
|
7
|
-
Current tablesorter version: 2.27.
|
7
|
+
Current tablesorter version: 2.27.2 (8/2/2016), [documentation]
|
8
8
|
|
9
9
|
Any issue associated with the js/css files, please report to [Mottie's fork].
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated
|
7
|
+
/*! tablesorter (FORK) - updated 08-02-2016 (v2.27.2)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -16,7 +16,7 @@
|
|
16
16
|
}
|
17
17
|
}(function(jQuery) {
|
18
18
|
|
19
|
-
/*! TableSorter (FORK) v2.27.
|
19
|
+
/*! TableSorter (FORK) v2.27.2 *//*
|
20
20
|
* Client-side table sorting with ease!
|
21
21
|
* @requires jQuery v1.2.6+
|
22
22
|
*
|
@@ -40,7 +40,7 @@
|
|
40
40
|
'use strict';
|
41
41
|
var ts = $.tablesorter = {
|
42
42
|
|
43
|
-
version : '2.27.
|
43
|
+
version : '2.27.2',
|
44
44
|
|
45
45
|
parsers : [],
|
46
46
|
widgets : [],
|
@@ -2676,8 +2676,8 @@
|
|
2676
2676
|
});
|
2677
2677
|
|
2678
2678
|
// match 24 hour time & 12 hours time + am/pm - see http://regexr.com/3c3tk
|
2679
|
-
ts.regex.timeTest = /^([1-9]|1[0-2]):([0-5]\d)(\s[AP]M)$|^((?:[01]\d|[2][0-4]):[0-5]\d)$/i;
|
2680
|
-
ts.regex.timeMatch = /([1-9]|1[0-2]):([0-5]\d)(\s[AP]M)|((?:[01]\d|[2][0-4]):[0-5]\d)/i;
|
2679
|
+
ts.regex.timeTest = /^(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)$|^((?:[01]\d|[2][0-4]):[0-5]\d)$/i;
|
2680
|
+
ts.regex.timeMatch = /(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)|((?:[01]\d|[2][0-4]):[0-5]\d)/i;
|
2681
2681
|
ts.addParser({
|
2682
2682
|
id : 'time',
|
2683
2683
|
is : function( str ) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.27.
|
1
|
+
/*! TableSorter (FORK) v2.27.2 *//*
|
2
2
|
* Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
@@ -22,7 +22,7 @@
|
|
22
22
|
'use strict';
|
23
23
|
var ts = $.tablesorter = {
|
24
24
|
|
25
|
-
version : '2.27.
|
25
|
+
version : '2.27.2',
|
26
26
|
|
27
27
|
parsers : [],
|
28
28
|
widgets : [],
|
@@ -2658,8 +2658,8 @@
|
|
2658
2658
|
});
|
2659
2659
|
|
2660
2660
|
// match 24 hour time & 12 hours time + am/pm - see http://regexr.com/3c3tk
|
2661
|
-
ts.regex.timeTest = /^([1-9]|1[0-2]):([0-5]\d)(\s[AP]M)$|^((?:[01]\d|[2][0-4]):[0-5]\d)$/i;
|
2662
|
-
ts.regex.timeMatch = /([1-9]|1[0-2]):([0-5]\d)(\s[AP]M)|((?:[01]\d|[2][0-4]):[0-5]\d)/i;
|
2661
|
+
ts.regex.timeTest = /^(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)$|^((?:[01]\d|[2][0-4]):[0-5]\d)$/i;
|
2662
|
+
ts.regex.timeMatch = /(0?[1-9]|1[0-2]):([0-5]\d)(\s[AP]M)|((?:[01]\d|[2][0-4]):[0-5]\d)/i;
|
2663
2663
|
ts.addParser({
|
2664
2664
|
id : 'time',
|
2665
2665
|
is : function( str ) {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated
|
7
|
+
/*! tablesorter (FORK) - updated 08-02-2016 (v2.27.2)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Widget: mark.js - updated
|
1
|
+
/*! Widget: mark.js - updated 8/1/2016 (v2.27.2) *//*
|
2
2
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
3
3
|
* by Rob Garrison
|
4
4
|
*/
|
@@ -51,6 +51,8 @@
|
|
51
51
|
},
|
52
52
|
update : function( c, filters ) {
|
53
53
|
var options = {},
|
54
|
+
wo = c.widgetOptions,
|
55
|
+
setIgnoreCase = typeof wo.filter_ignoreCase === 'undefined' ? true : wo.filter_ignoreCase,
|
54
56
|
regex = ts.mark.regex,
|
55
57
|
$rows = c.$table
|
56
58
|
.find( 'tbody tr' )
|
@@ -59,6 +61,12 @@
|
|
59
61
|
filters = filters || $.tablesorter.getFilters( c.$table );
|
60
62
|
// extract & save mark options from widgetOptions (prefixed with "mark_")
|
61
63
|
// update dynamically
|
64
|
+
$.each( c.widgetOptions, function( key, val ) {
|
65
|
+
var matches = key.match( regex.mark );
|
66
|
+
if ( matches && typeof matches[1] !== 'undefined' ) {
|
67
|
+
options[ matches[1] ] = val;
|
68
|
+
}
|
69
|
+
});
|
62
70
|
$.each( filters, function( indx, filter ) {
|
63
71
|
if ( filter ) {
|
64
72
|
var testRegex = null,
|
@@ -105,7 +113,10 @@
|
|
105
113
|
matches = filter.split( regex.filter );
|
106
114
|
}
|
107
115
|
if ( useRegex && matches && matches.length ) {
|
108
|
-
matches = new RegExp(
|
116
|
+
matches = new RegExp(
|
117
|
+
ts.mark.cleanMatches( matches ).join( '.*' ),
|
118
|
+
'gm' + ( setIgnoreCase ? 'i' : '' )
|
119
|
+
);
|
109
120
|
if ( ts.mark.checkRegex( matches ) ) {
|
110
121
|
$rows.children( col ).markRegExp( matches, options );
|
111
122
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-tablesorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.22.
|
4
|
+
version: 1.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Lin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|