jquery-tablesorter 1.26.0 → 1.26.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 -3
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +4 -2
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/widgets/widget-math.js +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 183fd401be8bba2c7f7831a622f3fc7c318b76558c0fd085b56f568e0d91de88
|
4
|
+
data.tar.gz: '081e387b3fbc8d655af2e63d67c8921b46127d5ca2a0026600e9b902af2cacda'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08115dd203ac1794bdeee26bf859857fea3e5b8cd3943557352b957d5a212312ba22a7593338c0179a02dd35685ef8d3acff69c175b020f1f6bff49040a34679'
|
7
|
+
data.tar.gz: 64ad24510635554f9e7ea5356afa9d1beee2a10625f712551046b9716adc9e879b908e7250561ca0f29fe6ed3394178b0fb8211a6ef7c304a709d5940289cf02
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Simple integration of jQuery tablesorter ([Mottie's fork]) into the asset pipeline.
|
6
6
|
|
7
|
-
Current tablesorter version: 2.31.
|
7
|
+
Current tablesorter version: 2.31.1 (2018-11-20) [documentation]
|
8
8
|
|
9
9
|
Any issue associated with the js/css files, please report to [Mottie's fork].
|
10
10
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated 2018-
|
7
|
+
/*! tablesorter (FORK) - updated 2018-11-20 (v2.31.1)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery) {
|
10
|
-
/*! TableSorter (FORK) v2.31.
|
10
|
+
/*! TableSorter (FORK) v2.31.1 *//*
|
11
11
|
* Client-side table sorting with ease!
|
12
12
|
* @requires jQuery v1.2.6+
|
13
13
|
*
|
@@ -31,7 +31,7 @@
|
|
31
31
|
'use strict';
|
32
32
|
var ts = $.tablesorter = {
|
33
33
|
|
34
|
-
version : '2.31.
|
34
|
+
version : '2.31.1',
|
35
35
|
|
36
36
|
parsers : [],
|
37
37
|
widgets : [],
|
@@ -328,6 +328,8 @@
|
|
328
328
|
ts.applyWidget( table, true );
|
329
329
|
// if user has supplied a sort list to constructor
|
330
330
|
if ( c.sortList.length > 0 ) {
|
331
|
+
// save sortList before any sortAppend is added
|
332
|
+
c.last.sortList = c.sortList;
|
331
333
|
ts.sortOn( c, c.sortList, {}, !c.initWidgets );
|
332
334
|
} else {
|
333
335
|
ts.setHeadersCss( c );
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.31.
|
1
|
+
/*! TableSorter (FORK) v2.31.1 *//*
|
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.31.
|
25
|
+
version : '2.31.1',
|
26
26
|
|
27
27
|
parsers : [],
|
28
28
|
widgets : [],
|
@@ -319,6 +319,8 @@
|
|
319
319
|
ts.applyWidget( table, true );
|
320
320
|
// if user has supplied a sort list to constructor
|
321
321
|
if ( c.sortList.length > 0 ) {
|
322
|
+
// save sortList before any sortAppend is added
|
323
|
+
c.last.sortList = c.sortList;
|
322
324
|
ts.sortOn( c, c.sortList, {}, !c.initWidgets );
|
323
325
|
} else {
|
324
326
|
ts.setHeadersCss( c );
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated 2018-
|
7
|
+
/*! tablesorter (FORK) - updated 2018-11-20 (v2.31.1)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery) {
|
10
10
|
/*! Widget: storage - updated 2018-03-18 (v2.30.0) */
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Widget: math - updated
|
1
|
+
/*! Widget: math - updated 11/20/2018 (v2.31.1) *//*
|
2
2
|
* Requires tablesorter v2.16+ and jQuery 1.7+
|
3
3
|
* by Rob Garrison
|
4
4
|
*/
|
@@ -28,10 +28,14 @@
|
|
28
28
|
events : ( 'tablesorter-initialized update updateAll updateRows addRows updateCell filterReset ' )
|
29
29
|
.split(' ').join('.tsmath '),
|
30
30
|
|
31
|
-
processText : function( c, $cell ) {
|
31
|
+
processText : function( c, $cell ) {
|
32
32
|
var tmp,
|
33
|
+
wo = c.widgetOptions,
|
33
34
|
txt = ts.getElementText( c, $cell, math.getCellIndex( $cell ) ),
|
34
35
|
prefix = c.widgetOptions.math_prefix;
|
36
|
+
if (wo.math_textAttr) {
|
37
|
+
txt = $cell.attr(wo.math_textAttr) || txt;
|
38
|
+
}
|
35
39
|
if ( /</.test( prefix ) ) {
|
36
40
|
// prefix contains HTML; remove it & any text before using formatFloat
|
37
41
|
tmp = $( '<div>' + prefix + '</div>' ).text()
|
@@ -612,6 +616,8 @@
|
|
612
616
|
// e.g. '<span class="red">{content}</span>'
|
613
617
|
math_prefix : '',
|
614
618
|
math_suffix : '',
|
619
|
+
// cell attribute containing the math value to use
|
620
|
+
math_textAttr : '',
|
615
621
|
// no matching math elements found (text added to cell)
|
616
622
|
math_none : 'N/A',
|
617
623
|
math_event : 'recalculate',
|
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.26.
|
4
|
+
version: 1.26.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: 2018-
|
12
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|