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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group-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 Polymer({ 2 Polymer({
3 is: 'paper-radio-group', 3 is: 'paper-radio-group',
4 4
5 behaviors: [ 5 behaviors: [
6 Polymer.IronA11yKeysBehavior 6 Polymer.IronA11yKeysBehavior
7 ], 7 ],
8 8
9 hostAttributes: { 9 hostAttributes: {
10 role: 'radiogroup', 10 role: 'radiogroup',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 _valueToIndex: function(items, value) { 118 _valueToIndex: function(items, value) {
119 for (var index = 0, node; (node = items[index]); index++) { 119 for (var index = 0, node; (node = items[index]); index++) {
120 if (this._valueForNode(node) == value) { 120 if (this._valueForNode(node) == value) {
121 return index; 121 return index;
122 } 122 }
123 } 123 }
124 // If no item found, the value itself is probably the index. 124 // If no item found, the value itself is probably the index.
125 return value; 125 return value;
126 } 126 }
127 }); 127 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698