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/type-detection/formatted-num.min.mjs

2 lines
279 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.type.detect.unshift(function(t){t=t.replace(/[^\d\-\.\/a-zA-Z]/g,"");return!isNaN(t-parseFloat(t))||"-"===t?"formatted-num":null});export default DataTable;