Sha256: b23ad819628caed63f7c47fbe0e8e707212e28d2f94eef1a5361b6bd41644240

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

/*
 * Localized default methods for the jQuery validation plugin.
 * Locale: ES_CL
 */
$.extend( $.validator.methods, {
	date: function( value, element ) {
		return this.optional( element ) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test( value );
	},
	number: function( value, element ) {
		return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
	}
} );

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jquery-validation-rails-1.16.0 vendor/assets/javascripts/jquery.validate.localization/methods_es_CL.js
jquery-validation-rails-1.15.0.0 app/assets/javascripts/jquery.validate.localization/methods_es_CL.js