mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-11 08:00:26 +00:00
4 lines
471 B
JavaScript
4 lines
471 B
JavaScript
/*! jQuery Validation Plugin - v1.13.0 - 7/1/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)}})}); |