You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/sorting/numString.min.js

2 lines
770 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var u,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(u=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||u(e),o(e,n),t(n,0,e.document)}:(o(window,u),module.exports=t(u,window,window.document))):t(jQuery,window,document)}(function(e,n,t,u){"use strict";var o=e.fn.dataTable;return o.numString=function(n){o.ext.type.detect.unshift(function(e){return"string"==typeof e&&e.match(n)?"numString-"+n.source:null}),o.ext.type.order["numString-"+n.source+"-pre"]=function(e){return+e.replace(/\D/g,"")}},o});