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