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