Hi all,
I have a client who has a Business membership and they host the files on their own CDN. Unfortunately, they never update the versions. TimelineMax is v1.20.3 and MorphSVGPlugin is v0.8.11
I've requested they update the files, and they say they will, but this is a HUGE tech corporation with a HUGE tech bureaucracy and nothing is ever quick!
So my question is -- how do I register a plugin (and use it) in this version? The plugin file does not expose window.MorphSVGPlugin so there's no apparent way to register it as it is undefined. This is my code as it stands:
var tl = gsap.timeline(),
circle = document.getElementById("circle"),
smoke = document.getElementById("smoke-1");
tl.to(circle, 4, {morphSVG:smoke, type:"rotational", origin:"center center"}, "+=2")
.to(circle, 4, {morphSVG:circle, type:"rotational", origin:"center center"}, "+=5");
Running it produces a console message to registerPlugin()
thanks!