| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 Polymer({ | 3 Polymer({ |
| 4 | 4 |
| 5 is: 'fade-out-animation', | 5 is: 'fade-out-animation', |
| 6 | 6 |
| 7 behaviors: [ | 7 behaviors: [ |
| 8 Polymer.NeonAnimationBehavior | 8 Polymer.NeonAnimationBehavior |
| 9 ], | 9 ], |
| 10 | 10 |
| 11 configure: function(config) { | 11 configure: function(config) { |
| 12 var node = config.node; | 12 var node = config.node; |
| 13 this._effect = new KeyframeEffect(node, [ | 13 this._effect = new KeyframeEffect(node, [ |
| 14 {'opacity': '1'}, | 14 {'opacity': '1'}, |
| 15 {'opacity': '0'} | 15 {'opacity': '0'} |
| 16 ], this.timingFromConfig(config)); | 16 ], this.timingFromConfig(config)); |
| 17 return this._effect; | 17 return this._effect; |
| 18 } | 18 } |
| 19 | 19 |
| 20 }); | 20 }); |
| 21 | 21 |
| OLD | NEW |