jquery-tablesorter 1.17.0 → 1.17.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 +10 -9
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +6 -5
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +4 -4
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-filter.js +3 -3
- 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: eb7ba6c4dbd8076b0e52b6f0abccb9ee298dc366
|
4
|
+
data.tar.gz: 887a64f685ec1c39e48c7aa7819f7892b793fab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0ba74694869a7ff4b46a7c3f271ce77d376b2ffc53a0b553878c5fa58a473b9c942eae7f406a3a2526ec963ba18435bf14829e1c18d4e3de913eeec74495599
|
7
|
+
data.tar.gz: 458ac71eacbf0b9ac0a8bd625acaa533a19d2fd80c1ee72cf90427419d7903b3074b757df37c01ff6978b4cab77108853f16db74bc35abc8a26286a3107f53b4
|
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.22.
|
7
|
+
Current tablesorter version: 2.22.1 (5/17/2015), [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 05-
|
7
|
+
/*! tablesorter (FORK) - updated 05-18-2015 (v2.22.1)*/
|
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($) {
|
18
18
|
|
19
|
-
/*! TableSorter (FORK) v2.22.
|
19
|
+
/*! TableSorter (FORK) v2.22.1 *//*
|
20
20
|
* Client-side table sorting with ease!
|
21
21
|
* @requires jQuery v1.2.6+
|
22
22
|
*
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
var ts = this;
|
46
46
|
|
47
|
-
ts.version = '2.22.
|
47
|
+
ts.version = '2.22.1';
|
48
48
|
|
49
49
|
ts.parsers = [];
|
50
50
|
ts.widgets = [];
|
@@ -1399,7 +1399,7 @@
|
|
1399
1399
|
.find(c.selectorSort).add( $headers.filter(c.selectorSort) )
|
1400
1400
|
.unbind(t)
|
1401
1401
|
.bind(t, function(e, external) {
|
1402
|
-
var cell,
|
1402
|
+
var cell, temp,
|
1403
1403
|
$target = $(e.target),
|
1404
1404
|
// wrap event type in spaces, so the match doesn't trigger on inner words
|
1405
1405
|
type = ' ' + e.type + ' ';
|
@@ -1416,8 +1416,9 @@
|
|
1416
1416
|
// set timer on mousedown
|
1417
1417
|
if ( type.match(' ' + c.pointerDown + ' ') ) {
|
1418
1418
|
downTarget = e.target;
|
1419
|
-
// needed or jQuery v1.2
|
1420
|
-
|
1419
|
+
// needed or jQuery v1.3.2 or older throws an "Uncaught TypeError: handler.apply is not a function" error
|
1420
|
+
temp = $target.jquery.split( '.' );
|
1421
|
+
if ( temp[0] === '1' && temp[1] < 4 ) { e.preventDefault(); }
|
1421
1422
|
return;
|
1422
1423
|
}
|
1423
1424
|
downTarget = null;
|
@@ -2544,7 +2545,7 @@ ts.addWidget({
|
|
2544
2545
|
|
2545
2546
|
})(jQuery);
|
2546
2547
|
|
2547
|
-
/*! Widget: filter - updated 5/17/2015 (v2.22.
|
2548
|
+
/*! Widget: filter - updated 5/17/2015 (v2.22.1) *//*
|
2548
2549
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
2549
2550
|
* by Rob Garrison
|
2550
2551
|
*/
|
@@ -2793,7 +2794,7 @@ ts.filter = {
|
|
2793
2794
|
var index = data.index,
|
2794
2795
|
parsed = data.parsed[ index ],
|
2795
2796
|
txt = data.iFilter.replace( ts.filter.regex.orReplace, '|' ),
|
2796
|
-
query = ts.filter.parseFilter( c, txt, index, parsed ) || '';
|
2797
|
+
query = '' + ( ts.filter.parseFilter( c, txt, index, parsed ) || '' );
|
2797
2798
|
// look for an exact match with the 'or' unless the 'filter-match' class is found
|
2798
2799
|
if ( !c.$headerIndexed[ index ].hasClass( 'filter-match' ) && /\|/.test( query ) ) {
|
2799
2800
|
// show all results while using filter match. Fixes #727
|
@@ -3611,7 +3612,7 @@ ts.filter = {
|
|
3611
3612
|
data.parsed = c.$headers.map( function( columnIndex ) {
|
3612
3613
|
return c.parsers && c.parsers[ columnIndex ] &&
|
3613
3614
|
// force parsing if parser type is numeric
|
3614
|
-
|
3615
|
+
c.parsers[ columnIndex ].parsed ||
|
3615
3616
|
// getData won't return 'parsed' if other 'filter-' class names exist
|
3616
3617
|
// ( e.g. <th class="filter-select filter-parsed"> )
|
3617
3618
|
ts.getData && ts.getData( c.$headerIndexed[ columnIndex ],
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.22.
|
1
|
+
/*! TableSorter (FORK) v2.22.1 *//*
|
2
2
|
* Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
var ts = this;
|
28
28
|
|
29
|
-
ts.version = '2.22.
|
29
|
+
ts.version = '2.22.1';
|
30
30
|
|
31
31
|
ts.parsers = [];
|
32
32
|
ts.widgets = [];
|
@@ -1381,7 +1381,7 @@
|
|
1381
1381
|
.find(c.selectorSort).add( $headers.filter(c.selectorSort) )
|
1382
1382
|
.unbind(t)
|
1383
1383
|
.bind(t, function(e, external) {
|
1384
|
-
var cell,
|
1384
|
+
var cell, temp,
|
1385
1385
|
$target = $(e.target),
|
1386
1386
|
// wrap event type in spaces, so the match doesn't trigger on inner words
|
1387
1387
|
type = ' ' + e.type + ' ';
|
@@ -1398,8 +1398,9 @@
|
|
1398
1398
|
// set timer on mousedown
|
1399
1399
|
if ( type.match(' ' + c.pointerDown + ' ') ) {
|
1400
1400
|
downTarget = e.target;
|
1401
|
-
// needed or jQuery v1.2
|
1402
|
-
|
1401
|
+
// needed or jQuery v1.3.2 or older throws an "Uncaught TypeError: handler.apply is not a function" error
|
1402
|
+
temp = $target.jquery.split( '.' );
|
1403
|
+
if ( temp[0] === '1' && temp[1] < 4 ) { e.preventDefault(); }
|
1403
1404
|
return;
|
1404
1405
|
}
|
1405
1406
|
downTarget = null;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated 05-
|
7
|
+
/*! tablesorter (FORK) - updated 05-18-2015 (v2.22.1)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -371,7 +371,7 @@ ts.addWidget({
|
|
371
371
|
|
372
372
|
})(jQuery);
|
373
373
|
|
374
|
-
/*! Widget: filter - updated 5/17/2015 (v2.22.
|
374
|
+
/*! Widget: filter - updated 5/17/2015 (v2.22.1) *//*
|
375
375
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
376
376
|
* by Rob Garrison
|
377
377
|
*/
|
@@ -620,7 +620,7 @@ ts.filter = {
|
|
620
620
|
var index = data.index,
|
621
621
|
parsed = data.parsed[ index ],
|
622
622
|
txt = data.iFilter.replace( ts.filter.regex.orReplace, '|' ),
|
623
|
-
query = ts.filter.parseFilter( c, txt, index, parsed ) || '';
|
623
|
+
query = '' + ( ts.filter.parseFilter( c, txt, index, parsed ) || '' );
|
624
624
|
// look for an exact match with the 'or' unless the 'filter-match' class is found
|
625
625
|
if ( !c.$headerIndexed[ index ].hasClass( 'filter-match' ) && /\|/.test( query ) ) {
|
626
626
|
// show all results while using filter match. Fixes #727
|
@@ -1438,7 +1438,7 @@ ts.filter = {
|
|
1438
1438
|
data.parsed = c.$headers.map( function( columnIndex ) {
|
1439
1439
|
return c.parsers && c.parsers[ columnIndex ] &&
|
1440
1440
|
// force parsing if parser type is numeric
|
1441
|
-
|
1441
|
+
c.parsers[ columnIndex ].parsed ||
|
1442
1442
|
// getData won't return 'parsed' if other 'filter-' class names exist
|
1443
1443
|
// ( e.g. <th class="filter-select filter-parsed"> )
|
1444
1444
|
ts.getData && ts.getData( c.$headerIndexed[ columnIndex ],
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Widget: filter - updated 5/17/2015 (v2.22.
|
1
|
+
/*! Widget: filter - updated 5/17/2015 (v2.22.1) *//*
|
2
2
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
3
3
|
* by Rob Garrison
|
4
4
|
*/
|
@@ -247,7 +247,7 @@ ts.filter = {
|
|
247
247
|
var index = data.index,
|
248
248
|
parsed = data.parsed[ index ],
|
249
249
|
txt = data.iFilter.replace( ts.filter.regex.orReplace, '|' ),
|
250
|
-
query = ts.filter.parseFilter( c, txt, index, parsed ) || '';
|
250
|
+
query = '' + ( ts.filter.parseFilter( c, txt, index, parsed ) || '' );
|
251
251
|
// look for an exact match with the 'or' unless the 'filter-match' class is found
|
252
252
|
if ( !c.$headerIndexed[ index ].hasClass( 'filter-match' ) && /\|/.test( query ) ) {
|
253
253
|
// show all results while using filter match. Fixes #727
|
@@ -1065,7 +1065,7 @@ ts.filter = {
|
|
1065
1065
|
data.parsed = c.$headers.map( function( columnIndex ) {
|
1066
1066
|
return c.parsers && c.parsers[ columnIndex ] &&
|
1067
1067
|
// force parsing if parser type is numeric
|
1068
|
-
|
1068
|
+
c.parsers[ columnIndex ].parsed ||
|
1069
1069
|
// getData won't return 'parsed' if other 'filter-' class names exist
|
1070
1070
|
// ( e.g. <th class="filter-select filter-parsed"> )
|
1071
1071
|
ts.getData && ts.getData( c.$headerIndexed[ columnIndex ],
|
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.17.
|
4
|
+
version: 1.17.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: 2015-05-
|
12
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|