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
613 B
JavaScript

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