Merge branch 'master' of github.com:DataTables/Plugins

pull/230/head 1.10.10
Allan Jardine 9 years ago
commit 1d8f976a88

@ -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));
}));

Loading…
Cancel
Save