diff options
Diffstat (limited to 'uiframe-iui/src/main/resources/webroot/component/thirdparty/jquery-validation/js/localization/methods_pt.js')
-rw-r--r-- | uiframe-iui/src/main/resources/webroot/component/thirdparty/jquery-validation/js/localization/methods_pt.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/uiframe-iui/src/main/resources/webroot/component/thirdparty/jquery-validation/js/localization/methods_pt.js b/uiframe-iui/src/main/resources/webroot/component/thirdparty/jquery-validation/js/localization/methods_pt.js new file mode 100644 index 00000000..320d8be3 --- /dev/null +++ b/uiframe-iui/src/main/resources/webroot/component/thirdparty/jquery-validation/js/localization/methods_pt.js @@ -0,0 +1,19 @@ +(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: PT_BR
+ */
+$.extend($.validator.methods, {
+ date: function(value, element) {
+ return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
+ }
+});
+
+}));
\ No newline at end of file |