jquery-tablesorter 1.17.3 → 1.17.4
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 +7 -6
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +3 -3
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +4 -3
- data/vendor/assets/javascripts/jquery-tablesorter/parsers/parser-globalize.js +1 -0
- data/vendor/assets/javascripts/jquery-tablesorter/parsers/parser-network.js +5 -4
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-filter.js +2 -2
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-math.js +6 -7
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-output.js +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-sort2Hash.js +2 -3
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-storage.js +1 -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: 6ff3892ce162fb8eec75bb7764185d2c6efba957
|
4
|
+
data.tar.gz: 3ffe106aa3ccd5983d7c427e58a110d9870ec275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfede884f564297700b11fcf802d4f7d364b47e6ae0c45698bbe34c44b698ae97b77d3d27018238da7bbfc07449d48afd1b36840000c7fb297352f0a0970b4df
|
7
|
+
data.tar.gz: 2e41d3642f6cd8eab091c236019f02871d3fbfcf8917bfac1c498fe467b7474fc5e3f44d6c9ccbb1e2fbdf5f0089b854602d41f690ebccfd75a816db914f9109
|
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.5 (7/28/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 07-28-2015 (v2.22.
|
7
|
+
/*! tablesorter (FORK) - updated 07-28-2015 (v2.22.5)*/
|
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.5 *//*
|
20
20
|
* Client-side table sorting with ease!
|
21
21
|
* @requires jQuery v1.2.6+
|
22
22
|
*
|
@@ -35,7 +35,7 @@
|
|
35
35
|
* @contributor Rob Garrison - https://github.com/Mottie/tablesorter
|
36
36
|
*/
|
37
37
|
/*jshint browser:true, jquery:true, unused:false, expr: true */
|
38
|
-
/*global console:false
|
38
|
+
/*global console:false */
|
39
39
|
;(function($){
|
40
40
|
'use strict';
|
41
41
|
$.extend({
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
var ts = this;
|
46
46
|
|
47
|
-
ts.version = '2.22.
|
47
|
+
ts.version = '2.22.5';
|
48
48
|
|
49
49
|
ts.parsers = [];
|
50
50
|
ts.widgets = [];
|
@@ -2250,6 +2250,7 @@
|
|
2250
2250
|
})(jQuery);
|
2251
2251
|
|
2252
2252
|
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
2253
|
+
/*global JSON:false */
|
2253
2254
|
;(function ($, window, document) {
|
2254
2255
|
'use strict';
|
2255
2256
|
|
@@ -2711,7 +2712,7 @@
|
|
2711
2712
|
types: {
|
2712
2713
|
or : function( c, data, vars ) {
|
2713
2714
|
if ( /\|/.test( data.iFilter ) || ts.filter.regex.orSplit.test( data.filter ) ) {
|
2714
|
-
var indx, filterMatched,
|
2715
|
+
var indx, filterMatched, query, regex,
|
2715
2716
|
// duplicate data but split filter
|
2716
2717
|
data2 = $.extend( {}, data ),
|
2717
2718
|
index = data.index,
|
@@ -2746,7 +2747,7 @@
|
|
2746
2747
|
// Look for an AND or && operator ( logical and )
|
2747
2748
|
and : function( c, data, vars ) {
|
2748
2749
|
if ( ts.filter.regex.andTest.test( data.filter ) ) {
|
2749
|
-
var indx, filterMatched, result,
|
2750
|
+
var indx, filterMatched, result, query, regex,
|
2750
2751
|
// duplicate data but split filter
|
2751
2752
|
data2 = $.extend( {}, data ),
|
2752
2753
|
index = data.index,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.22.
|
1
|
+
/*! TableSorter (FORK) v2.22.5 *//*
|
2
2
|
* Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* @contributor Rob Garrison - https://github.com/Mottie/tablesorter
|
18
18
|
*/
|
19
19
|
/*jshint browser:true, jquery:true, unused:false, expr: true */
|
20
|
-
/*global console:false
|
20
|
+
/*global console:false */
|
21
21
|
;(function($){
|
22
22
|
'use strict';
|
23
23
|
$.extend({
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
var ts = this;
|
28
28
|
|
29
|
-
ts.version = '2.22.
|
29
|
+
ts.version = '2.22.5';
|
30
30
|
|
31
31
|
ts.parsers = [];
|
32
32
|
ts.widgets = [];
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated 07-28-2015 (v2.22.
|
7
|
+
/*! tablesorter (FORK) - updated 07-28-2015 (v2.22.5)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -17,6 +17,7 @@
|
|
17
17
|
}(function($) {
|
18
18
|
|
19
19
|
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
20
|
+
/*global JSON:false */
|
20
21
|
;(function ($, window, document) {
|
21
22
|
'use strict';
|
22
23
|
|
@@ -478,7 +479,7 @@
|
|
478
479
|
types: {
|
479
480
|
or : function( c, data, vars ) {
|
480
481
|
if ( /\|/.test( data.iFilter ) || ts.filter.regex.orSplit.test( data.filter ) ) {
|
481
|
-
var indx, filterMatched,
|
482
|
+
var indx, filterMatched, query, regex,
|
482
483
|
// duplicate data but split filter
|
483
484
|
data2 = $.extend( {}, data ),
|
484
485
|
index = data.index,
|
@@ -513,7 +514,7 @@
|
|
513
514
|
// Look for an AND or && operator ( logical and )
|
514
515
|
and : function( c, data, vars ) {
|
515
516
|
if ( ts.filter.regex.andTest.test( data.filter ) ) {
|
516
|
-
var indx, filterMatched, result,
|
517
|
+
var indx, filterMatched, result, query, regex,
|
517
518
|
// duplicate data but split filter
|
518
519
|
data2 = $.extend( {}, data ),
|
519
520
|
index = data.index,
|
@@ -29,13 +29,14 @@
|
|
29
29
|
return ts.regex.ipv6Validate.test(s);
|
30
30
|
},
|
31
31
|
format: function(address, table) {
|
32
|
-
// code modified from http://
|
32
|
+
// code modified from http://zurb.com/forrst/posts/JS_Expand_Abbreviated_IPv6_Addresses-1OR
|
33
|
+
// Saved to https://gist.github.com/Mottie/7018157
|
33
34
|
var i, t, sides, groups, groupsPresent,
|
34
35
|
hex = table ? (typeof table === 'boolean' ? table : table && table.config.ipv6HexFormat || false) : false,
|
35
36
|
fullAddress = '',
|
36
37
|
expandedAddress = '',
|
37
|
-
validGroupCount = 8
|
38
|
-
|
38
|
+
validGroupCount = 8;
|
39
|
+
// validGroupSize = 4; <- removed while loop
|
39
40
|
// remove any extra spaces
|
40
41
|
address = address.replace(/\s*/g, '');
|
41
42
|
// look for embedded ipv4
|
@@ -112,7 +113,7 @@
|
|
112
113
|
*/
|
113
114
|
ts.addParser({
|
114
115
|
id : 'MAC',
|
115
|
-
is : function(
|
116
|
+
is : function() {
|
116
117
|
return false;
|
117
118
|
},
|
118
119
|
format : function( str ) {
|
@@ -105,7 +105,7 @@
|
|
105
105
|
types: {
|
106
106
|
or : function( c, data, vars ) {
|
107
107
|
if ( /\|/.test( data.iFilter ) || ts.filter.regex.orSplit.test( data.filter ) ) {
|
108
|
-
var indx, filterMatched,
|
108
|
+
var indx, filterMatched, query, regex,
|
109
109
|
// duplicate data but split filter
|
110
110
|
data2 = $.extend( {}, data ),
|
111
111
|
index = data.index,
|
@@ -140,7 +140,7 @@
|
|
140
140
|
// Look for an AND or && operator ( logical and )
|
141
141
|
and : function( c, data, vars ) {
|
142
142
|
if ( ts.filter.regex.andTest.test( data.filter ) ) {
|
143
|
-
var indx, filterMatched, result,
|
143
|
+
var indx, filterMatched, result, query, regex,
|
144
144
|
// duplicate data but split filter
|
145
145
|
data2 = $.extend( {}, data ),
|
146
146
|
index = data.index,
|
@@ -40,8 +40,7 @@
|
|
40
40
|
|
41
41
|
// get all of the row numerical values in an arry
|
42
42
|
getRow : function( c, $el ) {
|
43
|
-
var
|
44
|
-
wo = c.widgetOptions,
|
43
|
+
var wo = c.widgetOptions,
|
45
44
|
arry = [],
|
46
45
|
$row = $el.closest( 'tr' ),
|
47
46
|
$cells = $row.children().not( '[' + wo.math_dataAttrib + '=ignore]' );
|
@@ -58,7 +57,7 @@
|
|
58
57
|
|
59
58
|
// get all of the column numerical values in an arry
|
60
59
|
getColumn : function( c, $el, type ) {
|
61
|
-
var index,
|
60
|
+
var index, $t, len, $mathRows, mathAbove,
|
62
61
|
arry = [],
|
63
62
|
wo = c.widgetOptions,
|
64
63
|
filtered = wo.filter_filteredRow || 'filtered',
|
@@ -104,7 +103,7 @@
|
|
104
103
|
|
105
104
|
// get all of the column numerical values in an arry
|
106
105
|
getAll : function( c ) {
|
107
|
-
var
|
106
|
+
var $t, col, $row, rowIndex, rowLen, $cells, cellIndex, cellLen,
|
108
107
|
arry = [],
|
109
108
|
wo = c.widgetOptions,
|
110
109
|
filtered = wo.filter_filteredRow || 'filtered',
|
@@ -128,7 +127,7 @@
|
|
128
127
|
return arry;
|
129
128
|
},
|
130
129
|
|
131
|
-
recalculate : function(
|
130
|
+
recalculate : function(c, wo, init) {
|
132
131
|
if ( c && ( !wo.math_isUpdating || init ) ) {
|
133
132
|
|
134
133
|
// add data-column attributes to all table cells
|
@@ -315,7 +314,7 @@
|
|
315
314
|
str += integer.charAt( index ); // ie6 only support charAt for sz.
|
316
315
|
// -posSeparator so that won't trail separator on full length
|
317
316
|
/*jshint -W018 */
|
318
|
-
if ( !( ( index - offset + 1 ) % posSeparator ) && index <
|
317
|
+
if ( !( ( index - offset + 1 ) % posSeparator ) && index < len - posSeparator ) {
|
319
318
|
str += group;
|
320
319
|
}
|
321
320
|
}
|
@@ -456,7 +455,7 @@
|
|
456
455
|
// redo data-column indexes on update
|
457
456
|
ts.computeColumnIndex( c.$table.children('tbody').children() );
|
458
457
|
}
|
459
|
-
math.recalculate(
|
458
|
+
math.recalculate( c, wo, init );
|
460
459
|
}
|
461
460
|
})
|
462
461
|
.on( update + '.tsmath', function() {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* Download-File-JS: https://github.com/PixelsCommander/Download-File-JS (http://www.apache.org/licenses/LICENSE-2.0)
|
6
6
|
*/
|
7
7
|
/*jshint browser:true, jquery:true, unused:false */
|
8
|
-
/*global jQuery: false */
|
8
|
+
/*global jQuery:false, alert:false */
|
9
9
|
;(function($){
|
10
10
|
'use strict';
|
11
11
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
// just see if column contains a number
|
51
51
|
if ( isNaN( temp ) || temp > c.columns ) {
|
52
52
|
regex = new RegExp( '(' + column + ')', 'i' );
|
53
|
-
column = c.$headers.filter( function( index
|
53
|
+
column = c.$headers.filter( function( index ) {
|
54
54
|
return regex.test( c.$headers[ index ].textContent || '' );
|
55
55
|
}).attr( 'data-column' );
|
56
56
|
}
|
@@ -94,8 +94,7 @@
|
|
94
94
|
return sort.join( wo.sort2Hash_separator );
|
95
95
|
},
|
96
96
|
setHash : function( c, wo ) {
|
97
|
-
var
|
98
|
-
sort = s2h.processSort( c, wo );
|
97
|
+
var sort = s2h.processSort( c, wo );
|
99
98
|
if ( sort.length ) {
|
100
99
|
// remove old hash
|
101
100
|
s2h.getSort( c, wo, true );
|
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.4
|
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-07-
|
12
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|