diff options
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js')
-rw-r--r-- | openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js index 44b3e365..fd0c1a09 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/jquery-validation/js/localization/methods_fi.js @@ -1,22 +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); - } -}); - +(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 |