| Index: third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js
|
| index 1c88739c99616cc4ed48ad378c437927a580f959..5f33034762b75860933ca6aa74b20c046815c016 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js
|
| @@ -7,13 +7,6 @@
|
|
|
| properties: {
|
|
|
| - _animationMeta: {
|
| - type: Object,
|
| - value: function() {
|
| - return new Polymer.IronMeta({type: 'animation'});
|
| - }
|
| - },
|
| -
|
| /** @type {?Object} */
|
| _player: {
|
| type: Object
|
| @@ -25,9 +18,9 @@
|
| var allAnimations = [];
|
| if (allConfigs.length > 0) {
|
| for (var config, index = 0; config = allConfigs[index]; index++) {
|
| - var animationConstructor = this._animationMeta.byKey(config.name);
|
| - if (animationConstructor) {
|
| - var animation = animationConstructor && new animationConstructor();
|
| + var animation = document.createElement(config.name);
|
| + // is this element actually a neon animation?
|
| + if (animation.isNeonAnimation) {
|
| var effect = animation.configure(config);
|
| if (effect) {
|
| allAnimations.push({
|
| @@ -37,7 +30,7 @@
|
| });
|
| }
|
| } else {
|
| - console.warn(this.is + ':', config.name, 'not found!');
|
| + Polymer.Base._warn(this.is + ':', config.name, 'not found!');
|
| }
|
| }
|
| }
|
|
|