| OLD | NEW |
| 1 (function() { | 1 |
| 2 (function() { |
| 2 'use strict'; | 3 'use strict'; |
| 3 | 4 |
| 4 var PaperMenuButton = Polymer({ | 5 var PaperMenuButton = Polymer({ |
| 5 is: 'paper-menu-button', | 6 is: 'paper-menu-button', |
| 6 | 7 |
| 7 /** | 8 /** |
| 8 * Fired when the dropdown opens. | 9 * Fired when the dropdown opens. |
| 9 * | 10 * |
| 10 * @event paper-dropdown-open | 11 * @event paper-dropdown-open |
| 11 */ | 12 */ |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 if (disabled && this.opened) { | 243 if (disabled && this.opened) { |
| 243 this.close(); | 244 this.close(); |
| 244 } | 245 } |
| 245 } | 246 } |
| 246 }); | 247 }); |
| 247 | 248 |
| 248 PaperMenuButton.ANIMATION_CUBIC_BEZIER = 'cubic-bezier(.3,.95,.5,1)'; | 249 PaperMenuButton.ANIMATION_CUBIC_BEZIER = 'cubic-bezier(.3,.95,.5,1)'; |
| 249 PaperMenuButton.MAX_ANIMATION_TIME_MS = 400; | 250 PaperMenuButton.MAX_ANIMATION_TIME_MS = 400; |
| 250 | 251 |
| 251 Polymer.PaperMenuButton = PaperMenuButton; | 252 Polymer.PaperMenuButton = PaperMenuButton; |
| 252 })(); | 253 })(); |
| OLD | NEW |