mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-01 02:54:15 +01:00
JQMigrate Fixes
Update $.trim and $.isArray to native JS for Jquery3 compatibility.
This commit is contained in:
parent
83e59694a1
commit
ae4a7cc43d
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,3 +5,5 @@ cdn
|
||||
media/css/jquery.dataTables_themeroller.min.css
|
||||
.DS_Store
|
||||
Plugins
|
||||
node_modules/*
|
||||
yarn.lock
|
||||
|
@ -82,7 +82,7 @@ DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, bu
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
@ -83,7 +83,7 @@ DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, bu
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
@ -83,7 +83,7 @@ DataTable.ext.renderer.pageButton.foundation = function ( settings, host, idx, b
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
@ -92,7 +92,7 @@ DataTable.ext.renderer.pageButton.material = function ( settings, host, idx, but
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
@ -92,7 +92,7 @@ DataTable.ext.renderer.pageButton.semanticUI = function ( settings, host, idx, b
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
@ -76,7 +76,7 @@ DataTable.ext.renderer.pageButton.uikit = function ( settings, host, idx, button
|
||||
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
||||
button = buttons[i];
|
||||
|
||||
if ( $.isArray( button ) ) {
|
||||
if ( Array.isArray( button ) ) {
|
||||
attach( container, button );
|
||||
}
|
||||
else {
|
||||
|
3986
media/js/jquery.dataTables.js
vendored
3986
media/js/jquery.dataTables.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user