mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
parent
56e6f38911
commit
0ea30f9ba7
@ -1 +1 @@
|
||||
d77140b845220c2ced4db9d3ce0f768958eb7132
|
||||
6e99739abf4582b8630d972c006d66572db4bff7
|
||||
|
16
media/js/jquery.dataTables.js
vendored
16
media/js/jquery.dataTables.js
vendored
@ -29,16 +29,16 @@
|
||||
(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
|
||||
}
|
||||
else if ( jQuery && !jQuery.fn.dataTable ) {
|
||||
// Define using browser globals otherwise
|
||||
// Prevent multiple instantiations if the script is loaded twice
|
||||
factory( jQuery );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user