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