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/brackets-negative.min.js

2 lines
930 B
JavaScript

/*! © SpryMedia Ltd, - datatables.net/license */
!function(n){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||r(e),o(e,t),n(t,0,e.document)}:(o(window,r),module.exports=n(r,window,window.document))):n(jQuery,window,document)}(function(e,t,n){"use strict";var e=e.fn.dataTable,r=e.util.escapeRegex("$£€c0123456789.-,()'"),o=new RegExp("[^"+r+"]");return e.ext.type.detect.unshift(function(e){return"string"!=typeof e||o.test(e)?null:"currency"}),e.ext.type.order["currency-pre"]=function(e){return""===e?0:(e=e.match(/[\()]/g)?!0!==e.match(/[\-]/g)?"-"+e.replace(/[\$£€c\(\),]/g,""):e.replace(/[^\d\-\.]/g,""):e.replace(/[\$£€\,]/g,""),parseFloat(e))},e});