🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

datatables.net-fixedheader-bs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datatables.net-fixedheader-bs - npm Package Compare versions

Comparing version

to
3.3.2

@@ -14,15 +14,4 @@ /*! Bootstrap 3 styling wrapper for FixedHeader

// CommonJS
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window
require('jquery') :
require('jquery')( root );
}
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {

@@ -32,9 +21,27 @@ require('datatables.net-bs')(root, $);

if ( ! $.fn.dataTable ) {
if ( ! $.fn.dataTable.FixedHeader ) {
require('datatables.net-fixedheader')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
return factory( $, root, root.document );
};
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}

@@ -41,0 +48,0 @@ else {

/*! Bootstrap 3 styling wrapper for FixedHeader
* © SpryMedia Ltd - datatables.net/license
*/
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-fixedheader"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net-bs")(e,t),t.fn.dataTable||require("datatables.net-fixedheader")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,d){"use strict";return e.fn.dataTable});
!function(t){var d,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-fixedheader"],function(e){return t(e,window,document)}):"object"==typeof exports?(d=require("jquery"),a=function(e,n){n.fn.dataTable||require("datatables.net-bs")(e,n),n.fn.dataTable.FixedHeader||require("datatables.net-fixedheader")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||d(e),a(e,n),t(n,0,e.document)}:(a(window,d),module.exports=t(d,window,window.document))):t(jQuery,window,document)}(function(e,n,t,d){"use strict";return e.fn.dataTable});

@@ -8,3 +8,3 @@ {

"types": "./types/types.d.ts",
"version": "3.3.1",
"version": "3.3.2",
"files": [

@@ -11,0 +11,0 @@ "css/**/*.css",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet