| Index: third_party/polymer/v1_0/components/neon-animation/neon-animation-runner-behavior.html
|
| diff --git a/third_party/polymer/v1_0/components/neon-animation/neon-animation-runner-behavior.html b/third_party/polymer/v1_0/components/neon-animation/neon-animation-runner-behavior.html
|
| index ce1211e466b276e5f92adda17d4f921371f000e5..bed94fc8fbe06b08a851908b6c068880e7f0cc32 100644
|
| --- a/third_party/polymer/v1_0/components/neon-animation/neon-animation-runner-behavior.html
|
| +++ b/third_party/polymer/v1_0/components/neon-animation/neon-animation-runner-behavior.html
|
| @@ -14,9 +14,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
| /**
|
| * `Polymer.NeonAnimationRunnerBehavior` adds a method to run animations.
|
| - * @polymerBehavior
|
| + *
|
| + * @polymerBehavior Polymer.NeonAnimationRunnerBehavior
|
| */
|
| - Polymer.NeonAnimationRunnerBehavior = [Polymer.NeonAnimatableBehavior, {
|
| + Polymer.NeonAnimationRunnerBehaviorImpl = {
|
|
|
| properties: {
|
|
|
| @@ -27,6 +28,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| }
|
| },
|
|
|
| + /** @type {?Object} */
|
| _player: {
|
| type: Object
|
| }
|
| @@ -57,7 +59,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| },
|
|
|
| _runAnimationEffects: function(allEffects) {
|
| - return player = document.timeline.play(new GroupEffect(allEffects));
|
| + return document.timeline.play(new GroupEffect(allEffects));
|
| },
|
|
|
| _completeAnimations: function(allAnimations) {
|
| @@ -68,6 +70,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
| /**
|
| * Plays an animation with an optional `type`.
|
| + * @param {string=} type
|
| + * @param {!Object=} cookie
|
| */
|
| playAnimation: function(type, cookie) {
|
| var allConfigs = this.getAnimationConfig(type);
|
| @@ -105,6 +109,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| this._player.cancel();
|
| }
|
| }
|
| + };
|
|
|
| - }];
|
| + /** @polymerBehavior Polymer.NeonAnimationRunnerBehavior */
|
| + Polymer.NeonAnimationRunnerBehavior = [
|
| + Polymer.NeonAnimatableBehavior,
|
| + Polymer.NeonAnimationRunnerBehaviorImpl
|
| + ];
|
| </script>
|
|
|