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/integration/bootstrap/2/dataTables.bootstrap.min.js

12 lines
2.7 KiB
JavaScript

/*!
DataTables Bootstrap 2 integration
©2011-2014 SpryMedia Ltd - datatables.net/license
*/
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,d,b){a instanceof String&&(a=String(a));for(var c=a.length,e=0;e<c;e++){var l=a[e];if(d.call(b,l,e,a))return{i:e,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,d,b){a!=Array.prototype&&a!=Object.prototype&&(a[d]=b.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,d,b,c){if(d){b=$jscomp.global;a=a.split(".");for(c=0;c<a.length-1;c++){var e=a[c];e in b||(b[e]={});b=b[e]}a=a[a.length-1];c=b[a];d=d(c);d!=c&&null!=d&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:d})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6-impl","es3");
(function(a,d,b,c,e){b.extend(!0,c.defaults,{dom:"<'row-fluid'<'span6'l><'span6'f>r><'row-fluid'<'span12't>><'row-fluid'<'span6'i><'span6'p>>",renderer:"bootstrap"});b.extend(c.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap"});c.ext.renderer.pageButton.bootstrap=function(a,d,e,n,k,q){var l=new c.Api(a),u=a.oClasses,m=a.oLanguage.oPaginate,g,h,t=function(c,d){var r,n=function(a){a.preventDefault();b(a.currentTarget).hasClass("disabled")||l.page(a.data.action).draw(!1)};var p=0;
for(r=d.length;p<r;p++){var f=d[p];if(b.isArray(f))t(c,f);else{h=g="";switch(f){case "ellipsis":g="&hellip;";h="disabled";break;case "first":g=m.sFirst;h=f+(0<k?"":" disabled");break;case "previous":g=m.sPrevious;h=f+(0<k?"":" disabled");break;case "next":g=m.sNext;h=f+(k<q-1?"":" disabled");break;case "last":g=m.sLast;h=f+(k<q-1?"":" disabled");break;default:g=f+1,h=k===f?"active":""}if(g){var v=b("<li>",{"class":u.sPageButton+" "+h,"aria-controls":a.sTableId,tabindex:a.iTabIndex,id:0===e&&"string"===
typeof f?a.sTableId+"_"+f:null}).append(b("<a>",{href:"#"}).html(g)).appendTo(c);a.oApi._fnBindAction(v,{action:f},n)}}}};t(b(d).empty().html('<div class="pagination"><ul/></div>').find("ul"),n)};c.TableTools&&(b.extend(!0,c.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info modal"},select:{row:"active"}}),b.extend(!0,c.TableTools.DEFAULTS.oTags,
{collection:{container:"ul",button:"li",liner:"a"}}))})(window,document,jQuery,jQuery.fn.dataTable);