| OLD | NEW |
| 1 Polymer({ | 1 |
| 2 | 2 |
| 3 Polymer({ |
| 4 |
| 3 is: 'ripple-animation', | 5 is: 'ripple-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 null; | 14 return null; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 40 return this._effect; | 42 return this._effect; |
| 41 }, | 43 }, |
| 42 | 44 |
| 43 complete: function() { | 45 complete: function() { |
| 44 if (this.sharedElements) { | 46 if (this.sharedElements) { |
| 45 this.setPrefixedProperty(this.sharedElements.to, 'transformOrigin', ''); | 47 this.setPrefixedProperty(this.sharedElements.to, 'transformOrigin', ''); |
| 46 this.sharedElements.to.style.borderRadius = ''; | 48 this.sharedElements.to.style.borderRadius = ''; |
| 47 } | 49 } |
| 48 } | 50 } |
| 49 | 51 |
| 50 }); | 52 }); |
| 53 |
| OLD | NEW |