/usr/share/javascript/jquery-datatables/dataTables.material.min.js is in libjs-jquery-datatables 1.10.16+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | /*!
DataTables Bootstrap 3 integration
©2011-2015 SpryMedia Ltd - datatables.net/license
*/
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return c(d,a,a.document)}:c(jQuery,window,document)})(function(c,a,d,u){var g=c.fn.dataTable;c.extend(!0,g.defaults,{dom:"<'mdl-grid'<'mdl-cell mdl-cell--6-col'l><'mdl-cell mdl-cell--6-col'f>><'mdl-grid dt-table'<'mdl-cell mdl-cell--12-col'tr>><'mdl-grid'<'mdl-cell mdl-cell--4-col'i><'mdl-cell mdl-cell--8-col'p>>",
renderer:"material"});c.extend(g.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-material",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});g.ext.renderer.pageButton.material=function(a,h,v,w,k,q){var r=new g.Api(a),n=a.oLanguage.oPaginate,x=a.oLanguage.oAria.paginate||{},f,e,s=0,t=function(d,g){var p,h,l,b,m=function(a){a.preventDefault();!c(a.currentTarget).hasClass("disabled")&&r.page()!=a.data.action&&
r.page(a.data.action).draw("page")};p=0;for(h=g.length;p<h;p++)if(b=g[p],c.isArray(b))t(d,b);else{f="";l=!1;switch(b){case "ellipsis":f="…";e="disabled";break;case "first":f=n.sFirst;e=b+(0<k?"":" disabled");break;case "previous":f=n.sPrevious;e=b+(0<k?"":" disabled");break;case "next":f=n.sNext;e=b+(k<q-1?"":" disabled");break;case "last":f=n.sLast;e=b+(k<q-1?"":" disabled");break;default:f=b+1,e="",l=k===b}l&&(e+=" mdl-button--raised mdl-button--colored");f&&(l=c("<button>",{"class":"mdl-button "+
e,id:0===v&&"string"===typeof b?a.sTableId+"_"+b:null,"aria-controls":a.sTableId,"aria-label":x[b],"data-dt-idx":s,tabindex:a.iTabIndex,disabled:-1!==e.indexOf("disabled")}).html(f).appendTo(d),a.oApi._fnBindAction(l,{action:b},m),s++)}},m;try{m=c(h).find(d.activeElement).data("dt-idx")}catch(y){}t(c(h).empty().html('<div class="pagination"/>').children(),w);m!==u&&c(h).find("[data-dt-idx="+m+"]").focus()};return g});
|