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.
2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
/*! © SpryMedia Ltd - datatables.net/license */
|
|
!function(t){var e,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(n){return t(n,window,document)}):"object"==typeof exports?(e=require("jquery"),r=function(n,a){a.fn.dataTable||require("datatables.net")(n,a)},"undefined"==typeof window?module.exports=function(n,a){return n=n||window,a=a||e(n),r(n,a),t(a,0,n.document)}:(r(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}(function(n,a,t){"use strict";var e=n.fn.dataTable;return e.type("natural",{order:{asc:function(n,a){return n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})},desc:function(n,a){return-1*n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}},className:"natural-sort"}),e.type("natural-nohtml",{order:{asc:function(n,a){return n=e.util.stripHtml(n),a=e.util.stripHtml(a),n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})},desc:function(n,a){return n=e.util.stripHtml(n),a=e.util.stripHtml(a),-1*n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}},className:"natural-sort"}),e.type("natural-ci",{order:{asc:function(n,a){return n=n.toString().toLowerCase(),a=a.toString().toLowerCase(),n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})},desc:function(n,a){return n=n.toString().toLowerCase(),a=a.toString().toLowerCase(),-1*n.localeCompare(a,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}},className:"natural-sort"}),e}); |