Sha256: 705e2d51d19e745c9474427809c5e1dcf97cb37c13197bb69c247790eaf19d1d

Contents?: true

Size: 385 Bytes

Versions: 10

Compression:

Stored size: 385 Bytes

Contents

/*
 * Localized default methods for the jQuery validation plugin.
 * Locale: DE
 */
jQuery.extend(jQuery.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

10 entries across 10 versions & 1 rubygems

Version Path
wheels-0.1.8 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.7 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.6 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.5 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.4 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.3 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.2 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.1 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.1.0 public/javascripts/jquery-validate/localization/methods_de.js
wheels-0.0.49 public/javascripts/jquery-validate/localization/methods_de.js