parent
244f788ecf
commit
257a4c7c22
@ -1,2 +1,2 @@
|
||||
/*! © SpryMedia Ltd, David Konrad - datatables.net/license */
|
||||
!function(t){var r,u;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),u=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),u(e,n),t(n,0,e.document)}:(u(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;function u(e,n,t){var r=/[+-]?((\d+(\.\d*)?)|\.\d+)([eE][+-]?[0-9]+)?/;return(e=null!==(e=e.replace(",",".").match(r))?parseFloat(e[0]):t)<(n=null!==(n=n.replace(",",".").match(r))?parseFloat(n[0]):t)?-1:n<e?1:0}return e.ext.type.order["any-number-asc"]=function(e,n){return u(e,n,Number.POSITIVE_INFINITY)},e.ext.type.order["any-number-desc"]=function(e,n){return-1*u(e,n,Number.NEGATIVE_INFINITY)},e});
|
||||
!function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t){"use strict";e=e.fn.dataTable;function r(e,n,t){var r=/[+-]?((\d+(\.\d*)?)|\.\d+)([eE][+-]?[0-9]+)?/;return(e="string"==typeof e?null!==(e=e.replace(",",".").match(r))?parseFloat(e[0]):t:e)<(n="string"==typeof n?null!==(n=n.replace(",",".").match(r))?parseFloat(n[0]):t:n)?-1:n<e?1:0}return e.ext.type.order["any-number-asc"]=function(e,n){return r(e,n,Number.POSITIVE_INFINITY)},e.ext.type.order["any-number-desc"]=function(e,n){return-1*r(e,n,Number.NEGATIVE_INFINITY)},e});
|
@ -1,2 +1,2 @@
|
||||
/*! © SpryMedia Ltd, David Konrad - datatables.net/license */
|
||||
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;function _anyNumberSort(e,r,a){var t=/[+-]?((\d+(\.\d*)?)|\.\d+)([eE][+-]?[0-9]+)?/;return(e=null!==(e=e.replace(",",".").match(t))?parseFloat(e[0]):a)<(r=null!==(r=r.replace(",",".").match(t))?parseFloat(r[0]):a)?-1:r<e?1:0}DataTable.ext.type.order["any-number-asc"]=function(e,r){return _anyNumberSort(e,r,Number.POSITIVE_INFINITY)},DataTable.ext.type.order["any-number-desc"]=function(e,r){return-1*_anyNumberSort(e,r,Number.NEGATIVE_INFINITY)};export default DataTable;
|
||||
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;function _anyNumberSort(e,r,t){var a=/[+-]?((\d+(\.\d*)?)|\.\d+)([eE][+-]?[0-9]+)?/;return(e="string"==typeof e?null!==(e=e.replace(",",".").match(a))?parseFloat(e[0]):t:e)<(r="string"==typeof r?null!==(r=r.replace(",",".").match(a))?parseFloat(r[0]):t:r)?-1:r<e?1:0}DataTable.ext.type.order["any-number-asc"]=function(e,r){return _anyNumberSort(e,r,Number.POSITIVE_INFINITY)},DataTable.ext.type.order["any-number-desc"]=function(e,r){return-1*_anyNumberSort(e,r,Number.NEGATIVE_INFINITY)};export default DataTable;
|
Loading…
Reference in new issue