From 157d38e305f2144e546ec1e964292477cae9516d Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 7 Sep 2017 12:12:16 +0200 Subject: Renaming HTTP resource directories to prefixed names --- http/_res/tablesort.number.min.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 http/_res/tablesort.number.min.js (limited to 'http/_res/tablesort.number.min.js') diff --git a/http/_res/tablesort.number.min.js b/http/_res/tablesort.number.min.js new file mode 100644 index 0000000..db1fc68 --- /dev/null +++ b/http/_res/tablesort.number.min.js @@ -0,0 +1,5 @@ +/*! + * tablesort v5.0.1 (2017-05-27) + * http://tristen.ca/tablesort/demo/ + * Copyright (c) 2017 ; Licensed MIT +*/!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)})}(); \ No newline at end of file -- cgit v1.2.3