Index: third_party/polymer/components/neon-animation/animations/slide-right-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-right-animation.html b/third_party/polymer/components/neon-animation/animations/slide-right-animation.html |
index e6441c4f3824ca626f4e604dc6aedf343efa2e9e..99b5794e49fb3f4cd28ff4c3331131535a2eae16 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-right-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-right-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; |
} |