| OLD | NEW |
| 1 Polymer({ | 1 |
| 2 Polymer({ |
| 2 is: 'reverse-ripple-animation', | 3 is: 'reverse-ripple-animation', |
| 3 | 4 |
| 4 behaviors: [ | 5 behaviors: [ |
| 5 Polymer.NeonSharedElementAnimationBehavior | 6 Polymer.NeonSharedElementAnimationBehavior |
| 6 ], | 7 ], |
| 7 | 8 |
| 8 configure: function(config) { | 9 configure: function(config) { |
| 9 var shared = this.findSharedElements(config); | 10 var shared = this.findSharedElements(config); |
| 10 if (!shared) { | 11 if (!shared) { |
| 11 return null; | 12 return null; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 38 ], this.timingFromConfig(config)); | 39 ], this.timingFromConfig(config)); |
| 39 return this._effect; | 40 return this._effect; |
| 40 }, | 41 }, |
| 41 | 42 |
| 42 complete: function() { | 43 complete: function() { |
| 43 if (this.sharedElements) { | 44 if (this.sharedElements) { |
| 44 this.setPrefixedProperty(this.sharedElements.from, 'transformOrigin', ''
); | 45 this.setPrefixedProperty(this.sharedElements.from, 'transformOrigin', ''
); |
| 45 this.sharedElements.from.style.borderRadius = ''; | 46 this.sharedElements.from.style.borderRadius = ''; |
| 46 } | 47 } |
| 47 } | 48 } |
| 48 }); | 49 }); |
| OLD | NEW |