diff --git a/dist/sorts/tablesort.date.min.js b/dist/sorts/tablesort.date.min.js index 2f59305..e1bf70d 100644 --- a/dist/sorts/tablesort.date.min.js +++ b/dist/sorts/tablesort.date.min.js @@ -1,6 +1,5 @@ /*! - * tablesort v5.0.0 (2017-05-05) + * tablesort v5.0.1 (2017-05-27) * http://tristen.ca/tablesort/demo/ * Copyright (c) 2017 ; Licensed MIT -*/ -!function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(-1!==b.search(/(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\.?\,?\s*/i)||-1!==b.search(/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/)||-1!==b.search(/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i))&&!isNaN(a(b))},function(b,c){return b=b.toLowerCase(),c=c.toLowerCase(),a(c)-a(b)})}(); \ No newline at end of file +*/!function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(b.search(/(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\.?\,?\s*/i)!==-1||b.search(/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/)!==-1||b.search(/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i)!==-1)&&!isNaN(a(b))},function(b,c){return b=b.toLowerCase(),c=c.toLowerCase(),a(c)-a(b)})}(); \ No newline at end of file diff --git a/dist/sorts/tablesort.dotsep.min.js b/dist/sorts/tablesort.dotsep.min.js index 9482da4..4f5cd01 100644 --- a/dist/sorts/tablesort.dotsep.min.js +++ b/dist/sorts/tablesort.dotsep.min.js @@ -1,6 +1,5 @@ /*! - * tablesort v5.0.0 (2017-05-05) + * tablesort v5.0.1 (2017-05-27) * http://tristen.ca/tablesort/demo/ * Copyright (c) 2017 ; Licensed MIT -*/ -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;ed)return-1;if(cd)return-1;if(c0)if(a.tHead&&a.tHead.rows.length>0){for(e=0;e0&&l.push(k),m++;if(!l)return}for(m=0;m0)if(a.tHead&&a.tHead.rows.length>0){for(e=0;e0&&l.push(k),m++;if(!l)return}for(m=0;m