datatables.net-buttons-dt
Advanced tools
Comparing version 2.3.6 to 2.4.0
/*! DataTables styling wrapper for Buttons | ||
* ©2018 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
@@ -25,3 +25,3 @@ | ||
if (typeof window !== 'undefined') { | ||
if (typeof window === 'undefined') { | ||
module.exports = function (root, $) { | ||
@@ -57,38 +57,4 @@ if ( ! root ) { | ||
(function( factory ){ | ||
if ( typeof define === 'function' && define.amd ) { | ||
// AMD | ||
define( ['jquery', 'datatables.net-dt', 'datatables.net-buttons'], function ( $ ) { | ||
return factory( $, window, document ); | ||
} ); | ||
} | ||
else if ( typeof exports === 'object' ) { | ||
// CommonJS | ||
module.exports = function (root, $) { | ||
if ( ! root ) { | ||
root = window; | ||
} | ||
if ( ! $ || ! $.fn.dataTable ) { | ||
$ = require('datatables.net-dt')(root, $).$; | ||
} | ||
if ( ! $.fn.dataTable.Buttons ) { | ||
require('datatables.net-buttons')(root, $); | ||
} | ||
return factory( $, root, root.document ); | ||
}; | ||
} | ||
else { | ||
// Browser | ||
factory( jQuery, window, document ); | ||
} | ||
}(function( $, window, document, undefined ) { | ||
return $.fn.dataTable; | ||
})); | ||
return DataTable; | ||
})); |
/*! DataTables styling wrapper for Buttons | ||
* ©2018 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
!function(n){var a,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?(a=require("jquery"),d=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||a(t),d(t,e),n(e,t,t.document)}:(d(window,a),module.exports=n(a,window,window.document))):n(jQuery,window,document)}(function(t,n,e,a){"use strict";var d,t=t.fn.dataTable;return d=function(t,e,n,a){return t.fn.dataTable},"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],function(t){return d(t)}):"object"==typeof exports?module.exports=function(t,e){return t=t||n,(e=e&&e.fn.dataTable?e:require("datatables.net-dt")(t,e).$).fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),d(e,0,t.document)}:d(jQuery),t}); | ||
!function(n){var o,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],function(e){return n(e,window,document)}):"object"==typeof exports?(o=require("jquery"),d=function(e,t){t.fn.dataTable||require("datatables.net-dt")(e,t),t.fn.dataTable.Buttons||require("datatables.net-buttons")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),d(e,t),n(t,0,e.document)}:(d(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(e,t,n,o){"use strict";return e.fn.dataTable}); |
@@ -7,4 +7,4 @@ { | ||
"style": "css/buttons.dataTables.css", | ||
"types": "./types/types.d.ts", | ||
"version": "2.3.6", | ||
"types": "./types/buttons.dataTables.d.ts", | ||
"version": "2.4.0", | ||
"files": [ | ||
@@ -30,4 +30,4 @@ "css/**/*.css", | ||
"dependencies": { | ||
"datatables.net-buttons": ">=2.2.3", | ||
"datatables.net-dt": ">=1.12.1", | ||
"datatables.net-buttons": ">=2.3.6", | ||
"datatables.net-dt": ">=1.13.4", | ||
"jquery": ">=1.7" | ||
@@ -34,0 +34,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
35102
10
670
Updateddatatables.net-dt@>=1.13.4