mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
4 lines
473 B
JavaScript
Executable File
4 lines
473 B
JavaScript
Executable File
/*! jQuery Validation Plugin - v1.13.1 - 10/14/2014
|
|
* http://jqueryvalidation.org/
|
|
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
|
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.methods,{date:function(a,b){return this.optional(b)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(a)}})}); |