mirror of
https://github.com/janickiy/yii2-nomer
synced 2025-03-09 15:39:59 +00:00
add files to project
This commit is contained in:
commit
5cac498444
3729 changed files with 836998 additions and 0 deletions
22
web/metronic/global/plugins/jquery-validation/js/localization/methods_fi.js
vendored
Normal file
22
web/metronic/global/plugins/jquery-validation/js/localization/methods_fi.js
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
(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: FI
|
||||
*/
|
||||
$.extend($.validator.methods, {
|
||||
date: function(value, element) {
|
||||
return this.optional(element) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test(value);
|
||||
},
|
||||
number: function(value, element) {
|
||||
return this.optional(element) || /^-?(?:\d+)(?:,\d+)?$/.test(value);
|
||||
}
|
||||
});
|
||||
|
||||
}));
|
Loading…
Add table
Add a link
Reference in a new issue