|
|
|
@ -20,7 +20,13 @@
|
|
|
|
|
* $('#example').DataTable();
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
(function($) {
|
|
|
|
|
(function (factory) {
|
|
|
|
|
if (typeof define === "function" && define.amd) {
|
|
|
|
|
define(["jquery", "moment", "datatables"], factory);
|
|
|
|
|
} else {
|
|
|
|
|
factory(jQuery, moment);
|
|
|
|
|
}
|
|
|
|
|
}(function ($, moment) {
|
|
|
|
|
|
|
|
|
|
$.fn.dataTable.moment = function ( format, locale ) {
|
|
|
|
|
var types = $.fn.dataTable.ext.type;
|
|
|
|
@ -50,4 +56,4 @@ $.fn.dataTable.moment = function ( format, locale ) {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}(jQuery));
|
|
|
|
|
}));
|
|
|
|
|