mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-27 00:54:15 +01:00
Merge branch 'master' of github.com:DataTables/DataTablesSrc
This commit is contained in:
parent
464ce6a32a
commit
261f2c9eb0
@ -1 +1 @@
|
||||
b6ad90d88e51ab408a1162c10d7e9ca431c29e77
|
||||
528da3b2d730d076d579e6a6168e7cfcde776710
|
||||
|
19
media/js/jquery.dataTables.js
vendored
19
media/js/jquery.dataTables.js
vendored
@ -29,16 +29,17 @@
|
||||
(function( factory ) {
|
||||
"use strict";
|
||||
|
||||
// Define as an AMD module if possible
|
||||
if ( typeof define === 'function' && define.amd )
|
||||
{
|
||||
if ( typeof define === 'function' && define.amd ) {
|
||||
// Define as an AMD module if possible
|
||||
define( 'datatables', ['jquery'], factory );
|
||||
}
|
||||
/* Define using browser globals otherwise
|
||||
* Prevent multiple instantiations if the script is loaded twice
|
||||
*/
|
||||
else if ( jQuery && !jQuery.fn.dataTable )
|
||||
{
|
||||
else if ( typeof exports === 'object' ) {
|
||||
// Node/CommonJS
|
||||
factory( require( 'jquery' ) );
|
||||
}
|
||||
else if ( jQuery && !jQuery.fn.dataTable ) {
|
||||
// Define using browser globals otherwise
|
||||
// Prevent multiple instantiations if the script is loaded twice
|
||||
factory( jQuery );
|
||||
}
|
||||
}
|
||||
@ -8639,7 +8640,7 @@
|
||||
} );
|
||||
}
|
||||
|
||||
if ( ! remove ) {
|
||||
if ( ! remove && orig ) {
|
||||
// insertBefore acts like appendChild if !arg[1]
|
||||
orig.insertBefore( table, settings.nTableReinsertBefore );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user