| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 /** @polymerBehavior */ | 3 /** @polymerBehavior */ |
| 4 Polymer.PaperButtonBehaviorImpl = { | 4 Polymer.PaperButtonBehaviorImpl = { |
| 5 | 5 |
| 6 properties: { | 6 properties: { |
| 7 | 7 |
| 8 _elevation: { | 8 _elevation: { |
| 9 type: Number | 9 type: Number |
| 10 } | 10 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 e = 0; | 26 e = 0; |
| 27 } else if (this.active || this.pressed) { | 27 } else if (this.active || this.pressed) { |
| 28 e = 4; | 28 e = 4; |
| 29 } else if (this.receivedFocusFromKeyboard) { | 29 } else if (this.receivedFocusFromKeyboard) { |
| 30 e = 3; | 30 e = 3; |
| 31 } | 31 } |
| 32 this._elevation = e; | 32 this._elevation = e; |
| 33 } | 33 } |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 /** @polymerBehavior */ |
| 36 Polymer.PaperButtonBehavior = [ | 37 Polymer.PaperButtonBehavior = [ |
| 37 Polymer.IronButtonState, | 38 Polymer.IronButtonState, |
| 38 Polymer.IronControlState, | 39 Polymer.IronControlState, |
| 39 Polymer.PaperButtonBehaviorImpl | 40 Polymer.PaperButtonBehaviorImpl |
| 40 ]; | 41 ]; |
| 41 | 42 |
| OLD | NEW |