Skip to content

Commit a986bcd

Browse files
committed
Prepare v5.0.2
1 parent 1dd7594 commit a986bcd

File tree

8 files changed

+1775
-8
lines changed

8 files changed

+1775
-8
lines changed

dist/sorts/tablesort.date.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sorts/tablesort.dotsep.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* tablesort v5.0.1 (2017-05-27)
2+
* tablesort v5.0.2 (2017-11-12)
33
* http://tristen.ca/tablesort/demo/
44
* Copyright (c) 2017 ; Licensed MIT
55
*/Tablesort.extend("dotsep",function(a){return/^(\d+\.)+\d+$/.test(a)},function(a,b){a=a.split("."),b=b.split(".");for(var c,d,e=0,f=a.length;e<f;e++)if(c=parseInt(a[e],10),d=parseInt(b[e],10),c!==d){if(c>d)return-1;if(c<d)return 1}return 0});

dist/sorts/tablesort.filesize.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* tablesort v5.0.1 (2017-05-27)
2+
* tablesort v5.0.2 (2017-11-12)
33
* http://tristen.ca/tablesort/demo/
44
* Copyright (c) 2017 ; Licensed MIT
55
*/!function(){Tablesort.extend("monthname",function(a){return a.search(/(January|February|March|April|May|June|July|August|September|October|November|December)/i)!==-1},function(a,b){var c=["January","February","March","April","May","June","July","August","September","October","November","December"];return c.indexOf(b)-c.indexOf(a)})}();

dist/sorts/tablesort.number.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* tablesort v5.0.1 (2017-05-27)
2+
* tablesort v5.0.2 (2017-11-12)
33
* http://tristen.ca/tablesort/demo/
44
* Copyright (c) 2017 ; Licensed MIT
55
*/!function(){var a=function(a){return a.replace(/[^\-?0-9.]/g,"")},b=function(a,b){return a=parseFloat(a),b=parseFloat(b),a=isNaN(a)?0:a,b=isNaN(b)?0:b,a-b};Tablesort.extend("number",function(a){return a.match(/^[-+]?[£\x24Û¢´]?\d+\s*([,\.]\d{0,2})/)||a.match(/^[-+]?\d+\s*([,\.]\d{0,2})?[£\x24Û¢´]/)||a.match(/^[-+]?(\d)*-?([,\.]){0,1}-?(\d)+([E,e][\-+][\d]+)?%?$/)},function(c,d){return c=a(c),d=a(d),b(d,c)})}();

dist/tablesort.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)