datatables.net-fixedcolumns-dt
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -0,36 +1,52 @@ | ||
/*! DataTables integration for DataTables' FixedColumns | ||
* ©2016 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD | ||
define(['jquery', 'datatables.net-dt', 'datatables.net-fixedcolumns'], function ($) { | ||
return factory($); | ||
}); | ||
} | ||
else if (typeof exports === 'object') { | ||
// CommonJS | ||
module.exports = function (root, $) { | ||
if (!root) { | ||
root = window; | ||
} | ||
if (!$ || !$.fn.dataTable) { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
$ = require('datatables.net-dt')(root, $).$; | ||
} | ||
if (!$.fn.dataTable.FixedColumns) { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
require('datatables.net-fixedcolumns')(root, $); | ||
} | ||
return factory($); | ||
}; | ||
} | ||
else { | ||
// Browser | ||
factory(jQuery); | ||
} | ||
}(function ($) { | ||
'use strict'; | ||
var dataTable = $.fn.dataTable; | ||
return dataTable.fixedColumns; | ||
(function( factory ){ | ||
if ( typeof define === 'function' && define.amd ) { | ||
// AMD | ||
define( ['jquery', 'datatables.net-dt', 'datatables.net-fixedcolumns'], function ( $ ) { | ||
return factory( $, window, document ); | ||
} ); | ||
} | ||
else if ( typeof exports === 'object' ) { | ||
// 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 ); | ||
} | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-dt')(root, $); | ||
} | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-fixedcolumns')(root, $); | ||
} | ||
return factory( $, root, root.document ); | ||
}; | ||
} | ||
else { | ||
// Browser | ||
factory( jQuery, window, document ); | ||
} | ||
}(function( $, window, document, undefined ) { | ||
'use strict'; | ||
var DataTable = $.fn.dataTable; | ||
return DataTable; | ||
})); |
@@ -1,5 +0,4 @@ | ||
/*! | ||
DataTables integration for DataTables' FixedColumns | ||
©2016 SpryMedia Ltd - datatables.net/license | ||
*/ | ||
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-fixedcolumns"],function(b){return c(b)}):"object"===typeof exports?module.exports=function(b,a){b||(b=window);a&&a.fn.dataTable||(a=require("datatables.net-dt")(b,a).$);a.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(b,a);return c(a)}:c(jQuery)})(function(c){return c.fn.dataTable.fixedColumns}); | ||
/*! DataTables integration for DataTables' FixedColumns | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-fixedcolumns"],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-dt")(e,t),t.fn.dataTable||require("datatables.net-fixedcolumns")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,d){"use strict";return e.fn.dataTable}); |
@@ -5,8 +5,10 @@ { | ||
"main": "js/fixedColumns.dataTables.js", | ||
"module": "js/fixedColumns.dataTables.mjs", | ||
"style": "css/fixedColumns.dataTables.css", | ||
"types": "./types/fixedColumns.dataTables.d.ts", | ||
"version": "4.1.0", | ||
"types": "./types/types.d.ts", | ||
"version": "4.2.0", | ||
"files": [ | ||
"css/**/*.css", | ||
"js/**/*.js", | ||
"js/**/*.mjs", | ||
"types/**/*.d.ts" | ||
@@ -23,4 +25,4 @@ ], | ||
"dependencies": { | ||
"datatables.net-fixedcolumns": ">=4.0.0", | ||
"datatables.net-dt": ">=1.11.3", | ||
"datatables.net-fixedcolumns": ">=4.1.0", | ||
"datatables.net-dt": ">=1.12.1", | ||
"jquery": ">=1.7" | ||
@@ -27,0 +29,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
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
9790
11
155
1