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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/neon-animation/animations/reverse-ripple-animation-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 1 Polymer({
2 Polymer({
3 is: 'reverse-ripple-animation', 2 is: 'reverse-ripple-animation',
4 3
5 behaviors: [ 4 behaviors: [
6 Polymer.NeonSharedElementAnimationBehavior 5 Polymer.NeonSharedElementAnimationBehavior
7 ], 6 ],
8 7
9 configure: function(config) { 8 configure: function(config) {
10 var shared = this.findSharedElements(config); 9 var shared = this.findSharedElements(config);
11 if (!shared) { 10 if (!shared) {
12 return null; 11 return null;
(...skipping 26 matching lines...) Expand all
39 ], this.timingFromConfig(config)); 38 ], this.timingFromConfig(config));
40 return this._effect; 39 return this._effect;
41 }, 40 },
42 41
43 complete: function() { 42 complete: function() {
44 if (this.sharedElements) { 43 if (this.sharedElements) {
45 this.setPrefixedProperty(this.sharedElements.from, 'transformOrigin', '' ); 44 this.setPrefixedProperty(this.sharedElements.from, 'transformOrigin', '' );
46 this.sharedElements.from.style.borderRadius = ''; 45 this.sharedElements.from.style.borderRadius = '';
47 } 46 }
48 } 47 }
49 }); 48 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698