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

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

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
2 2
3 /** 3 /**
4 * Use `Polymer.NeonAnimationBehavior` to implement an animation. 4 * Use `Polymer.NeonAnimationBehavior` to implement an animation.
5 * @polymerBehavior 5 * @polymerBehavior
6 */ 6 */
7 Polymer.NeonAnimationBehavior = { 7 Polymer.NeonAnimationBehavior = {
8 8
9 properties: { 9 properties: {
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 var prefixes = map[property]; 58 var prefixes = map[property];
59 for (var prefix, index = 0; prefix = prefixes[index]; index++) { 59 for (var prefix, index = 0; prefix = prefixes[index]; index++) {
60 node.style[prefix] = value; 60 node.style[prefix] = value;
61 } 61 }
62 node.style[property] = value; 62 node.style[property] = value;
63 }, 63 },
64 64
65 /** 65 /**
66 * Called when the animation finishes. 66 * Called when the animation finishes.
67 */ 67 */
68 complete: function() { 68 complete: function() {}
69 // FIXME not sure about non-bubbling event
70 this.fire(this.animationEndEvent, null, {bubbles: false});
71 }
72 69
73 }; 70 };
74 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698