| OLD | NEW |
| 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 Loading... |
| 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 }); |
| OLD | NEW |