Index: third_party/polymer/components/neon-animation/animations/slide-from-left-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-from-left-animation.html b/third_party/polymer/components/neon-animation/animations/slide-from-left-animation.html |
index d24817522165ba62aca36e3e909a2d76650e68f2..5386c9b04f81866336333b5e6f6e1b6542bc6ed7 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-from-left-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-from-left-animation.html |
@@ -41,17 +41,17 @@ Configuration: |
configure: function(config) { |
var node = config.node; |
+ this._effect = new KeyframeEffect(node, [ |
+ {'transform': 'translateX(-100%)'}, |
+ {'transform': 'none'} |
+ ], this.timingFromConfig(config)); |
+ |
if (config.transformOrigin) { |
this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); |
} else { |
this.setPrefixedProperty(node, 'transformOrigin', '0 50%'); |
} |
- this._effect = new KeyframeEffect(node, [ |
- {'transform': 'translateX(-100%)'}, |
- {'transform': 'none'} |
- ], this.timingFromConfig(config)); |
- |
return this._effect; |
} |