| OLD | NEW |
| 1 | 1 (function() { |
| 2 (function() { | |
| 3 'use strict'; | 2 'use strict'; |
| 4 | 3 |
| 5 Polymer({ | 4 Polymer({ |
| 6 is: 'paper-dropdown-menu', | 5 is: 'paper-dropdown-menu', |
| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 * above the input, otherwise false. | 195 * above the input, otherwise false. |
| 197 */ | 196 */ |
| 198 _computeMenuVerticalOffset: function(noLabelFloat) { | 197 _computeMenuVerticalOffset: function(noLabelFloat) { |
| 199 // NOTE(cdata): These numbers are somewhat magical because they are | 198 // NOTE(cdata): These numbers are somewhat magical because they are |
| 200 // derived from the metrics of elements internal to `paper-input`'s | 199 // derived from the metrics of elements internal to `paper-input`'s |
| 201 // template. The metrics will change depending on whether or not the | 200 // template. The metrics will change depending on whether or not the |
| 202 // input has a floating label. | 201 // input has a floating label. |
| 203 return noLabelFloat ? -4 : 16; | 202 return noLabelFloat ? -4 : 16; |
| 204 } | 203 } |
| 205 }); | 204 }); |
| 206 })(); | 205 })(); |
| OLD | NEW |