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

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