datatables.net-bs
Advanced tools
Comparing version 2.0.4 to 2.0.5
/*! DataTables Bootstrap 3 integration | ||
* ©2011-2015 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
@@ -53,4 +53,3 @@ | ||
/** | ||
* DataTables integration for Bootstrap 3. This requires Bootstrap 3 and | ||
* DataTables 1.10 or newer. | ||
* DataTables integration for Bootstrap 3. | ||
* | ||
@@ -57,0 +56,0 @@ * This file sets the defaults and adds options to DataTables to style its |
/*! DataTables Bootstrap 3 integration | ||
* ©2011-2015 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
!function(n){var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),a(e,t),n(t,0,e.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(i,e,t){"use strict";var n=i.fn.dataTable;return i.extend(!0,n.defaults,{renderer:"bootstrap"}),i.extend(!0,n.ext.classes,{container:"dt-container form-inline dt-bootstrap",search:{input:"form-control input-sm"},length:{select:"form-control input-sm"},processing:{container:"dt-processing panel panel-default"}}),n.ext.renderer.pagingButton.bootstrap=function(e,t,n,o,a){var r=["dt-paging-button","page-item"],o=(o&&r.push("active"),a&&r.push("disabled"),i("<li>").addClass(r.join(" ")));return{display:o,clicker:i("<a>",{href:a?null:"#",class:"page-link"}).html(n).appendTo(o)}},n.ext.renderer.pagingContainer.bootstrap=function(e,t){return i("<ul/>").addClass("pagination").append(t)},n.ext.renderer.layout.bootstrap=function(e,t,n){var o=i("<div/>",{class:"row"}).appendTo(t);i.each(n,function(e,t){var n="";"start"===e?n+="col-sm-6 text-left":"end"===e?(n+="col-sm-6 text-right",0===o.find(".col-sm-6").length&&(n+=" col-sm-offset-6")):"full"===e&&(n+="col-sm-12",t.table||(n+=" text-center")),i("<div/>",{id:t.id||null,class:n+" "+(t.className||"")}).append(t.contents).appendTo(o)})},n}); |
@@ -8,3 +8,3 @@ { | ||
"types": "./types/dataTables.bootstrap.d.ts", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"files": [ | ||
@@ -25,3 +25,3 @@ "css/**/*.css", | ||
"dependencies": { | ||
"datatables.net": "2.0.4", | ||
"datatables.net": "2.0.5", | ||
"jquery": ">=1.7" | ||
@@ -28,0 +28,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41716
735
+ Addeddatatables.net@2.0.5(transitive)
- Removeddatatables.net@2.0.4(transitive)
Updateddatatables.net@2.0.5