| OLD | NEW |
| 1 | 1 Polymer({ |
| 2 | 2 |
| 3 Polymer({ | |
| 4 | |
| 5 is: 'hero-animation', | 3 is: 'hero-animation', |
| 6 | 4 |
| 7 behaviors: [ | 5 behaviors: [ |
| 8 Polymer.NeonSharedElementAnimationBehavior | 6 Polymer.NeonSharedElementAnimationBehavior |
| 9 ], | 7 ], |
| 10 | 8 |
| 11 configure: function(config) { | 9 configure: function(config) { |
| 12 var shared = this.findSharedElements(config); | 10 var shared = this.findSharedElements(config); |
| 13 if (!shared) { | 11 if (!shared) { |
| 14 return; | 12 return; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 36 | 34 |
| 37 complete: function(config) { | 35 complete: function(config) { |
| 38 var shared = this.findSharedElements(config); | 36 var shared = this.findSharedElements(config); |
| 39 if (!shared) { | 37 if (!shared) { |
| 40 return null; | 38 return null; |
| 41 } | 39 } |
| 42 shared.to.style.zIndex = ''; | 40 shared.to.style.zIndex = ''; |
| 43 shared.from.style.visibility = ''; | 41 shared.from.style.visibility = ''; |
| 44 } | 42 } |
| 45 | 43 |
| 46 }); | 44 }); |
| 47 | |
| OLD | NEW |