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