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

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