jquery-tablesorter 1.20.7 → 1.20.8
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 +12 -5
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +11 -4
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-print.js +9 -2
- data/vendor/assets/stylesheets/jquery-tablesorter/theme.bootstrap.css +3 -0
- data/vendor/assets/stylesheets/jquery-tablesorter/theme.bootstrap_2.css +3 -0
- 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: 2e9e9be444cd61966e902ca61fb38e30d870fd22
|
4
|
+
data.tar.gz: 9db7ce839fc6b20fedc6478afbd4723fa19bdea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 033fa5e5d2e2ed0c26c3b0fc3473d0ee551a958e49fddd61c5305f5869a955d47a098b1a259da69cceb56ad4613c4d281f7c8fdf65a1993dc8fbb27cc45389e1
|
7
|
+
data.tar.gz: 7479a1ad0d1598784e2b74678fe76e56b34b519515a2713c6661a71152d5f9e15f9b44d229949c2341e2df9311655e89637188a37ef2449dbe5c2210d5be4785
|
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.25.
|
7
|
+
Current tablesorter version: 2.25.8 (4/11/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 04-
|
7
|
+
/*! tablesorter (FORK) - updated 04-11-2016 (v2.25.8)*/
|
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.25.
|
19
|
+
/*! TableSorter (FORK) v2.25.8 *//*
|
20
20
|
* Client-side table sorting with ease!
|
21
21
|
* @requires jQuery v1.2.6+
|
22
22
|
*
|
@@ -39,7 +39,7 @@
|
|
39
39
|
'use strict';
|
40
40
|
var ts = $.tablesorter = {
|
41
41
|
|
42
|
-
version : '2.25.
|
42
|
+
version : '2.25.8',
|
43
43
|
|
44
44
|
parsers : [],
|
45
45
|
widgets : [],
|
@@ -959,8 +959,15 @@
|
|
959
959
|
index = 0;
|
960
960
|
while ( index <= span ) {
|
961
961
|
// duplicate text (or not) to spanned columns
|
962
|
-
|
963
|
-
|
962
|
+
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
|
963
|
+
// see http://stackoverflow.com/q/36449711/145346
|
964
|
+
txt = c.duplicateSpan || index === 0 ?
|
965
|
+
val :
|
966
|
+
typeof c.textExtraction !== 'string' ?
|
967
|
+
ts.getElementText( c, cell, cacheIndex + index ) || '' :
|
968
|
+
'';
|
969
|
+
rowData.raw[ cacheIndex + index ] = txt;
|
970
|
+
cols[ cacheIndex + index ] = txt;
|
964
971
|
index++;
|
965
972
|
}
|
966
973
|
cacheIndex += span;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.25.
|
1
|
+
/*! TableSorter (FORK) v2.25.8 *//*
|
2
2
|
* Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
@@ -21,7 +21,7 @@
|
|
21
21
|
'use strict';
|
22
22
|
var ts = $.tablesorter = {
|
23
23
|
|
24
|
-
version : '2.25.
|
24
|
+
version : '2.25.8',
|
25
25
|
|
26
26
|
parsers : [],
|
27
27
|
widgets : [],
|
@@ -941,8 +941,15 @@
|
|
941
941
|
index = 0;
|
942
942
|
while ( index <= span ) {
|
943
943
|
// duplicate text (or not) to spanned columns
|
944
|
-
|
945
|
-
|
944
|
+
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
|
945
|
+
// see http://stackoverflow.com/q/36449711/145346
|
946
|
+
txt = c.duplicateSpan || index === 0 ?
|
947
|
+
val :
|
948
|
+
typeof c.textExtraction !== 'string' ?
|
949
|
+
ts.getElementText( c, cell, cacheIndex + index ) || '' :
|
950
|
+
'';
|
951
|
+
rowData.raw[ cacheIndex + index ] = txt;
|
952
|
+
cols[ cacheIndex + index ] = txt;
|
946
953
|
index++;
|
947
954
|
}
|
948
955
|
cacheIndex += span;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated 04-
|
7
|
+
/*! tablesorter (FORK) - updated 04-11-2016 (v2.25.8)*/
|
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: print - updated
|
1
|
+
/* Widget: print - updated 4/11/2016 (v2.25.8) *//*
|
2
2
|
* Requires tablesorter v2.8+ and jQuery 1.2.6+
|
3
3
|
*/
|
4
4
|
/*jshint browser:true, jquery:true, unused:false */
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
|
28
28
|
process : function(c, wo) {
|
29
|
-
var $this,
|
29
|
+
var $this, data,
|
30
30
|
$table = $('<div/>').append(c.$table.clone()),
|
31
31
|
printStyle = printTable.basicStyle + 'table { width: 100%; }' +
|
32
32
|
// hide filter row
|
@@ -44,6 +44,13 @@
|
|
44
44
|
$this.text( $this.attr(wo.print_dataAttrib) );
|
45
45
|
});
|
46
46
|
|
47
|
+
// Make sure all lazy loaded images are visible - see #1169
|
48
|
+
data = 'data-' + (wo.lazyload_data_attribute || 'original');
|
49
|
+
$table.find('img[' + data + ']').each(function(){
|
50
|
+
$this = $(this);
|
51
|
+
$this.attr('src', $this.attr(data));
|
52
|
+
});
|
53
|
+
|
47
54
|
// === rows ===
|
48
55
|
// Assume 'visible' means rows hidden by the pager (rows set to 'display:none')
|
49
56
|
// or hidden by a class name which is added to the wo.print_extraCSS definition
|
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.20.
|
4
|
+
version: 1.20.8
|
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-04-
|
12
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|