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