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

2 lines
732 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=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),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.ext.type.order["chapter-pre"]=function(e){for(var n,t="",o=e.split("."),r=0;r<5;r++)t=(t+=0==(n=r<o.length?4-o[r].length:4)?"":Array(1+n).join("0"))+(r<o.length?o[r]:"");return t},e});