Index: third_party/polymer/components/neon-animation/animations/slide-from-right-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-from-right-animation.html b/third_party/polymer/components/neon-animation/animations/slide-from-right-animation.html |
index 4ebbf11b86ac71a3dfc7fd3187ea85f07c84bb5b..2afb591f15f8a4013a2c0e92bfd41f6eb7d70bef 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-from-right-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-from-right-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; |
} |