Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/iron-validatable-behavior-extracted.js

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 2
3 /** 3 /**
4 * Use `Polymer.IronValidatableBehavior` to implement an element that validate s user input. 4 * Use `Polymer.IronValidatableBehavior` to implement an element that validate s user input.
5 * 5 *
6 * ### Accessiblity 6 * ### Accessiblity
7 * 7 *
8 * Changing the `invalid` property, either manually or by calling `validate()` will update the 8 * Changing the `invalid` property, either manually or by calling `validate()` will update the
9 * `aria-invalid` attribute. 9 * `aria-invalid` attribute.
10 * 10 *
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 * @return {Boolean} True if `values` is valid. 77 * @return {Boolean} True if `values` is valid.
78 */ 78 */
79 validate: function(values) { 79 validate: function(values) {
80 var valid = this._validator && this._validator.validate(values); 80 var valid = this._validator && this._validator.validate(values);
81 this.invalid = !valid; 81 this.invalid = !valid;
82 return valid; 82 return valid;
83 } 83 }
84 84
85 }; 85 };
86 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698