| OLD | NEW |
| 1 Polymer({ | 1 |
| 2 Polymer({ |
| 2 is: 'paper-radio-group', | 3 is: 'paper-radio-group', |
| 3 | 4 |
| 4 behaviors: [ | 5 behaviors: [ |
| 5 Polymer.IronA11yKeysBehavior, | 6 Polymer.IronA11yKeysBehavior, |
| 6 Polymer.IronSelectableBehavior | 7 Polymer.IronSelectableBehavior |
| 7 ], | 8 ], |
| 8 | 9 |
| 9 hostAttributes: { | 10 hostAttributes: { |
| 10 role: 'radiogroup', | 11 role: 'radiogroup', |
| 11 tabindex: 0 | 12 tabindex: 0 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 selectNext: function() { | 86 selectNext: function() { |
| 86 var length = this.items.length; | 87 var length = this.items.length; |
| 87 var newIndex = Number(this._valueToIndex(this.selected)); | 88 var newIndex = Number(this._valueToIndex(this.selected)); |
| 88 | 89 |
| 89 do { | 90 do { |
| 90 newIndex = (newIndex + 1 + length) % length; | 91 newIndex = (newIndex + 1 + length) % length; |
| 91 } while (this.items[newIndex].disabled) | 92 } while (this.items[newIndex].disabled) |
| 92 | 93 |
| 93 this.select(this._indexToValue(newIndex)); | 94 this.select(this._indexToValue(newIndex)); |
| 94 }, | 95 }, |
| 95 }); | 96 }); |
| OLD | NEW |