web-animations/web-animations-codelabs

Material Folders demo broken; easing function being rejected

appsforartists opened this issue · 1 comments

In the Material folders demo,

keyframe-effect-constructor.js:128 Uncaught TypeError: Failed to execute 'animate' on 'Element': 'function (a){return a}' is not a valid value for easing
    at Object.b.newUnderlyingAnimationForKeyframeEffect (keyframe-effect-constructor.js:128)
    at b.Animation._rebuildUnderlyingAnimation (web-animations-next-animation.js:86)
    at b.Animation (web-animations-next-animation.js:35)
    at b.AnimationTimeline._play (timeline.js:48)
    at Object.b.newUnderlyingAnimationForGroup (group-constructors.js:189)
    at b.Animation._rebuildUnderlyingAnimation (web-animations-next-animation.js:90)
    at b.Animation (web-animations-next-animation.js:35)
    at b.AnimationTimeline._play (timeline.js:48)
    at b.AnimationTimeline.play (timeline.js:65)

Thanks for reporting this. Looks like the version of web-animations-js used needs to be updated to 2.1.5 or later.