diff options
Diffstat (limited to 'common/src/main/webapp/thirdparty/jquery-validation/js/localization/methods_fi.js')
-rwxr-xr-x | common/src/main/webapp/thirdparty/jquery-validation/js/localization/methods_fi.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/common/src/main/webapp/thirdparty/jquery-validation/js/localization/methods_fi.js b/common/src/main/webapp/thirdparty/jquery-validation/js/localization/methods_fi.js deleted file mode 100755 index 44b3e365..00000000 --- a/common/src/main/webapp/thirdparty/jquery-validation/js/localization/methods_fi.js +++ /dev/null @@ -1,22 +0,0 @@ -(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); - } -}); - -}));
\ No newline at end of file |