silverstripe-comments/thirdparty/jquery-validate/localization/methods_nl.js
Damian Mooyman 468df23801 Nested comments proof of concept
Update theme to new look and feel
Add jquery-validate 1.3.1 (w/ nz dst patch)
2015-04-21 11:12:42 +12:00

19 lines
435 B
JavaScript

(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate"], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Localized default methods for the jQuery validation plugin.
* Locale: NL
*/
$.extend($.validator.methods, {
date: function(value, element) {
return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
}
});
}));