You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polymer 0.2.2 running in Chrome 33.0.1750.154 m on Windows 7 logs this in the console (and didn't under Polymer 0.2.1):
Uncaught ReferenceError: ParGroup is not defined polymer-animation-group.js:4
(anonymous function) polymer-animation-group.js:4
(anonymous function) polymer-animation-group.js:111
Problem seems to be ParGroup undefined at the top of polymer-animation-group.js:
(function(){varANIMATION_GROUPS={'par': ParGroup,'seq': SeqGroup};/** * @module Animation *//** * Component for a group of animations. * * @class polymer-animation-group */Polymer('polymer-animation-group',{/** * If specified the target will be assigned to all child animations. * @property target * @type HTMLElement|Node * @default null */targetSelector: '',/** * If specified and not "auto" the duration will apply to the group * and propagate to any child animations that is not a group and does * not specify a duration. * @property duration * @type number * @default "auto" */duration: 'auto',/** * Group type. 'par' for parallel and 'seq' for sequence. * @property type * @type String * @default 'par' */type: 'par',typeChanged: function(){this.apply();},targetChanged: function(){// Only propagate target to children animations if it's defined.if(this.target){this.doOnChildren(function(c){c.target=this.target;}.bind(this));}},durationChanged: function(){if(this.duration&&this.duration!=='auto'){this.doOnChildren(function(c){// Propagate to children that is not a group and has no// duration specified.if(!c.type&&(!c.duration||c.duration==='auto')){c.duration=this.duration;}}.bind(this));}},doOnChildren: function(inFn){varchildren=this.children;if(!children.length){children=this.webkitShadowRoot ? this.webkitShadowRoot.childNodes : [];}Array.prototype.forEach.call(children,function(c){// TODO <template> in the wayc.apply&&inFn(c);},this);},makeAnimation: function(){returnnewANIMATION_GROUPS[this.type](this.childAnimations,this.timingProps);},hasTarget: function(){varht=this.target!==null;if(!ht){this.doOnChildren(function(c){ht=ht||c.hasTarget();}.bind(this));}returnht;},apply: function(){// Propagate target and duration to child animations first.this.durationChanged();this.targetChanged();this.doOnChildren(function(c){c.apply();});returnthis.super();},getchildAnimationElements(){varlist=[];this.doOnChildren(function(c){if(c.makeAnimation){list.push(c);}});returnlist;},getchildAnimations(){varlist=[];this.doOnChildren(function(c){if(c.animation){list.push(c.animation);}});returnlist;}});})();//# sourceURL=http://127.0.0.1:8080/bower_components/polymer-animation/polymer-animation-group.html/polymer-animation-group.js
The text was updated successfully, but these errors were encountered:
Polymer 0.2.2 running in Chrome 33.0.1750.154 m on Windows 7 logs this in the console (and didn't under Polymer 0.2.1):
Uncaught ReferenceError: ParGroup is not defined polymer-animation-group.js:4
(anonymous function) polymer-animation-group.js:4
(anonymous function) polymer-animation-group.js:111
I can reproduce this with a simple test page:
Problem seems to be ParGroup undefined at the top of polymer-animation-group.js:
The text was updated successfully, but these errors were encountered: