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

2 lines
605 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,n.fn.dataTable||require("datatables.net")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}(function(e,r,n,a){"use strict";var e=e.fn.dataTable,d=0,f=e.ext.type;return e.enum=function(e){for(var n="enum-"+d++,t=r.Map?new Map:{},u=0,o=e.length;u<o;u++)t[e[u]]=u;f.detect.unshift(function(e){return t[e]!==a?n:null}),f.order[n+"-pre"]=function(e){return t[e]}},e});