4 lines
536 B
JavaScript
Executable File
4 lines
536 B
JavaScript
Executable File
/*! jQuery Validation Plugin - v1.19.3 - 1/9/2021
|
|
* https://jqueryvalidation.org/
|
|
* Copyright (c) 2021 Jörn Zaefferer; Licensed MIT */
|
|
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return 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)}}),a}); |