mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
4 lines
452 B
JavaScript
Executable File
4 lines
452 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{1,2}\.\d{1,2}\.\d{4}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+)(?:,\d+)?$/.test(a)}})}); |