Index: third_party/polymer/components/neon-animation/animations/slide-left-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-left-animation.html b/third_party/polymer/components/neon-animation/animations/slide-left-animation.html |
index 7fbc446bcceb3c62fb1835839ebf45ab872bef35..da80a6bd7d1e25cba0cef1d5398697f3b2924657 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-left-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-left-animation.html |
@@ -40,17 +40,17 @@ Configuration: |
configure: function(config) { |
var node = config.node; |
+ this._effect = new KeyframeEffect(node, [ |
+ {'transform': 'none'}, |
+ {'transform': 'translateX(-100%)'} |
+ ], 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': 'none'}, |
- {'transform': 'translateX(-100%)'} |
- ], this.timingFromConfig(config)); |
- |
return this._effect; |
} |