diff --git a/integration/bootstrap/3/dataTables.bootstrap.js b/integration/bootstrap/3/dataTables.bootstrap.js index de5177f..03f9985 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.js +++ b/integration/bootstrap/3/dataTables.bootstrap.js @@ -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 ) { } } ); } - +}));