| OLD | NEW |
| 1 |
| 2 |
| 1 (function() { | 3 (function() { |
| 2 | 4 |
| 3 Polymer({ | 5 Polymer({ |
| 4 | 6 |
| 5 is: 'iron-overlay-backdrop', | 7 is: 'iron-overlay-backdrop', |
| 6 | 8 |
| 7 properties: { | 9 properties: { |
| 8 | 10 |
| 9 /** | 11 /** |
| 10 * Returns true if the backdrop is opened. | 12 * Returns true if the backdrop is opened. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 */ | 60 */ |
| 59 complete: function() { | 61 complete: function() { |
| 60 // only remove the backdrop if there are no more overlays with backdrops | 62 // only remove the backdrop if there are no more overlays with backdrops |
| 61 if (this._manager.getBackdrops().length === 0 && this.parentNode) { | 63 if (this._manager.getBackdrops().length === 0 && this.parentNode) { |
| 62 Polymer.dom(this.parentNode).removeChild(this); | 64 Polymer.dom(this.parentNode).removeChild(this); |
| 63 } | 65 } |
| 64 } | 66 } |
| 65 | 67 |
| 66 }); | 68 }); |
| 67 | 69 |
| 68 })(); | 70 })(); |
| 71 |
| OLD | NEW |