| Index: third_party/polymer/v0_8/components-chromium/neon-animation/animations/opaque-animation-extracted.js
|
| diff --git a/third_party/polymer/v0_8/components-chromium/neon-animation/animations/opaque-animation-extracted.js b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/opaque-animation-extracted.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c5a4b5cf1f4dfe790c09948f1b05ec8e5fac661d
|
| --- /dev/null
|
| +++ b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/opaque-animation-extracted.js
|
| @@ -0,0 +1,26 @@
|
| +
|
| +
|
| + Polymer({
|
| +
|
| + is: 'opaque-animation',
|
| +
|
| + behaviors: [
|
| + Polymer.NeonAnimationBehavior
|
| + ],
|
| +
|
| + configure: function(config) {
|
| + var node = config.node;
|
| + node.style.opacity = '0';
|
| + this._effect = new KeyframeEffect(node, [
|
| + {'opacity': '1'},
|
| + {'opacity': '1'}
|
| + ], this.timingFromConfig(config));
|
| + return this._effect;
|
| + },
|
| +
|
| + complete: function(config) {
|
| + config.node.style.opacity = '';
|
| + }
|
| +
|
| + });
|
| +
|
|
|