| OLD | NEW |
| 1 Polymer({ | 1 |
| 2 Polymer({ |
| 2 is: 'paper-button', | 3 is: 'paper-button', |
| 3 | 4 |
| 4 behaviors: [ | 5 behaviors: [ |
| 5 Polymer.PaperButtonBehavior | 6 Polymer.PaperButtonBehavior |
| 6 ], | 7 ], |
| 7 | 8 |
| 8 properties: { | 9 properties: { |
| 9 /** | 10 /** |
| 10 * If true, the button should be styled with a shadow. | 11 * If true, the button should be styled with a shadow. |
| 11 */ | 12 */ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25 } | 26 } |
| 26 }, | 27 }, |
| 27 | 28 |
| 28 _computeContentClass: function(receivedFocusFromKeyboard) { | 29 _computeContentClass: function(receivedFocusFromKeyboard) { |
| 29 var className = 'content '; | 30 var className = 'content '; |
| 30 if (receivedFocusFromKeyboard) { | 31 if (receivedFocusFromKeyboard) { |
| 31 className += ' keyboard-focus'; | 32 className += ' keyboard-focus'; |
| 32 } | 33 } |
| 33 return className; | 34 return className; |
| 34 } | 35 } |
| 35 }); | 36 }); |
| OLD | NEW |