Hi,
When using greensockglobals object, I can't get the morphSVGplugin to work (it throws errors).
The drawSVGplugin DOES work with greensockglobals, but if I use the morphSVGplugin the same way I use drawSVGplugin, it's not working. If I code without using greensockglobals, both plugins works perfectly fine. But obviously I want to use the globals object.
Could this be a bug in the morphSVGplugin? (Not respecting the greensockglobals object) Or am I doing something wrong here?
THIS IS MY CODE WITHOUT GREENSOCKGLOBALS (working fine)
[... greensock lib here...]
var tl = new TimelineMax();
tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: Linear.easeNone });
THIS IS THE SAME CODE WITH GREENSOCKGLOBALS (throwing errors):
var gs = window.GreenSockGlobals = {};
[... greensock lib here...]
var tl = new gs.TimelineMax();
tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: gs.Linear.easeNone });
Thanks in advance!