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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/neon-animation/animations/hero-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 2
3 Polymer({
4
5 is: 'hero-animation', 3 is: 'hero-animation',
6 4
7 behaviors: [ 5 behaviors: [
8 Polymer.NeonSharedElementAnimationBehavior 6 Polymer.NeonSharedElementAnimationBehavior
9 ], 7 ],
10 8
11 configure: function(config) { 9 configure: function(config) {
12 var shared = this.findSharedElements(config); 10 var shared = this.findSharedElements(config);
13 if (!shared) { 11 if (!shared) {
14 return; 12 return;
(...skipping 21 matching lines...) Expand all
36 34
37 complete: function(config) { 35 complete: function(config) {
38 var shared = this.findSharedElements(config); 36 var shared = this.findSharedElements(config);
39 if (!shared) { 37 if (!shared) {
40 return null; 38 return null;
41 } 39 }
42 shared.to.style.zIndex = ''; 40 shared.to.style.zIndex = '';
43 shared.from.style.visibility = ''; 41 shared.from.style.visibility = '';
44 } 42 }
45 43
46 }); 44 });
47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698