Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: third_party/polymer/components/neon-animation/animations/slide-left-animation.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698