jquery-tablesorter 1.20.2 → 1.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19368ab000f6255ad881bc8de033aeac5f2f28c1
4
- data.tar.gz: 253d804a8e656d63c63f20580c71da20c223671f
3
+ metadata.gz: 272d41de6d9d56175442304e2d8ac0c01bd73ece
4
+ data.tar.gz: 831896a2e7f29caa5704ad7590a5066872f00357
5
5
  SHA512:
6
- metadata.gz: 020827d35135c9b0e1f0650409a9afa3e19e6f7dc58ec76c7249a26df4c0e8f183a7fe8de80b5e8ddb9391c4e1a6a700059cdcf50a2a10af744683212dcfed9e
7
- data.tar.gz: eb0f673d5955bc90fa4d7e83624cb3c326e85086c93711bda194ae6f4d9097b383f2bf2746e81e904a056c6a81d2a8dfdef267649ad455f2bb0739db4b4fbaaa
6
+ metadata.gz: 4745445df767289fb92f9a289736d94a950f71c33838810f4a612fbd552d70a38974259073d93779e8fa609cde984d8e8d91f763d4e825bffa48f2f94a2f414e
7
+ data.tar.gz: e674c37f850eb1ccce10199862ad59a98d9e1f087e4a81d6c6432a6e4b61955b80a5d81269de9f118735f5cf7125797c77c1a5010cc6eb7a27eadad6c52e11b7
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.2 (1/15/2016), [documentation]
7
+ Current tablesorter version: 2.25.3 (1/21/2016), [documentation]
8
8
 
9
9
  Any issue associated with the js/css files, please report to [Mottie's fork].
10
10
 
@@ -1,7 +1,7 @@
1
1
  module JqueryTablesorter
2
2
  MAJOR = 1
3
3
  MINOR = 20
4
- TINY = 2
4
+ TINY = 3
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].compact.join('.')
7
7
  end
@@ -4,7 +4,7 @@
4
4
  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
5
5
  █████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
6
6
  */
7
- /*! tablesorter (FORK) - updated 01-15-2016 (v2.25.2)*/
7
+ /*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
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.2 *//*
19
+ /*! TableSorter (FORK) v2.25.3 *//*
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.2',
42
+ version : '2.25.3',
43
43
 
44
44
  parsers : [],
45
45
  widgets : [],
@@ -3090,7 +3090,7 @@
3090
3090
 
3091
3091
  })(jQuery);
3092
3092
 
3093
- /*! Widget: filter - updated 1/15/2016 (v2.25.2) *//*
3093
+ /*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
3094
3094
  * Requires tablesorter v2.8+ and jQuery 1.7+
3095
3095
  * by Rob Garrison
3096
3096
  */
@@ -3707,7 +3707,9 @@
3707
3707
  mode = encode ? encodeURIComponent : decodeURIComponent,
3708
3708
  len = filters.length;
3709
3709
  for ( indx = 0; indx < len; indx++ ) {
3710
- filters[ indx ] = mode( filters[ indx ] );
3710
+ if ( filters[ indx ] ) {
3711
+ filters[ indx ] = mode( filters[ indx ] );
3712
+ }
3711
3713
  }
3712
3714
  return filters;
3713
3715
  },
@@ -3894,7 +3896,7 @@
3894
3896
  event.preventDefault();
3895
3897
  // init search with no delay
3896
3898
  $( this ).attr( 'data-lastSearchTime', new Date().getTime() );
3897
- tsf.searching( table, false, true );
3899
+ tsf.searching( table, event.type !== 'keypress', true );
3898
3900
  }
3899
3901
  });
3900
3902
  },
@@ -1,4 +1,4 @@
1
- /*! TableSorter (FORK) v2.25.2 *//*
1
+ /*! TableSorter (FORK) v2.25.3 *//*
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.2',
24
+ version : '2.25.3',
25
25
 
26
26
  parsers : [],
27
27
  widgets : [],
@@ -4,7 +4,7 @@
4
4
  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
5
5
  █████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
6
6
  */
7
- /*! tablesorter (FORK) - updated 01-15-2016 (v2.25.2)*/
7
+ /*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
8
8
  /* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
9
9
  (function(factory) {
10
10
  if (typeof define === 'function' && define.amd) {
@@ -372,7 +372,7 @@
372
372
 
373
373
  })(jQuery);
374
374
 
375
- /*! Widget: filter - updated 1/15/2016 (v2.25.2) *//*
375
+ /*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
376
376
  * Requires tablesorter v2.8+ and jQuery 1.7+
377
377
  * by Rob Garrison
378
378
  */
@@ -989,7 +989,9 @@
989
989
  mode = encode ? encodeURIComponent : decodeURIComponent,
990
990
  len = filters.length;
991
991
  for ( indx = 0; indx < len; indx++ ) {
992
- filters[ indx ] = mode( filters[ indx ] );
992
+ if ( filters[ indx ] ) {
993
+ filters[ indx ] = mode( filters[ indx ] );
994
+ }
993
995
  }
994
996
  return filters;
995
997
  },
@@ -1176,7 +1178,7 @@
1176
1178
  event.preventDefault();
1177
1179
  // init search with no delay
1178
1180
  $( this ).attr( 'data-lastSearchTime', new Date().getTime() );
1179
- tsf.searching( table, false, true );
1181
+ tsf.searching( table, event.type !== 'keypress', true );
1180
1182
  }
1181
1183
  });
1182
1184
  },
@@ -1,4 +1,4 @@
1
- /*! Widget: filter - updated 1/15/2016 (v2.25.2) *//*
1
+ /*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
2
2
  * Requires tablesorter v2.8+ and jQuery 1.7+
3
3
  * by Rob Garrison
4
4
  */
@@ -615,7 +615,9 @@
615
615
  mode = encode ? encodeURIComponent : decodeURIComponent,
616
616
  len = filters.length;
617
617
  for ( indx = 0; indx < len; indx++ ) {
618
- filters[ indx ] = mode( filters[ indx ] );
618
+ if ( filters[ indx ] ) {
619
+ filters[ indx ] = mode( filters[ indx ] );
620
+ }
619
621
  }
620
622
  return filters;
621
623
  },
@@ -802,7 +804,7 @@
802
804
  event.preventDefault();
803
805
  // init search with no delay
804
806
  $( this ).attr( 'data-lastSearchTime', new Date().getTime() );
805
- tsf.searching( table, false, true );
807
+ tsf.searching( table, event.type !== 'keypress', true );
806
808
  }
807
809
  });
808
810
  },
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.2
4
+ version: 1.20.3
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-01-15 00:00:00.000000000 Z
12
+ date: 2016-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties