AMD support from Jowin's Datatables-Bootstrap3 plugin.

pull/51/head
eladxxx 11 years ago
parent e942118178
commit 0adf521db3

@ -1,3 +1,10 @@
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery','datatables'], factory);
} else {
factory(jQuery);
}
}(function ($) {
/* Set the defaults for DataTables initialisation */
$.extend( true, $.fn.dataTable.defaults, {
"sDom":
@ -248,4 +255,4 @@ if ( $.fn.DataTable.TableTools ) {
}
} );
}
}));

Loading…
Cancel
Save