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