Hello,
Is there a way to use the ScrollMagic plugin as an AMD module?
I see it defines two variables in the window level :
window.ScrollScene = ScrollScene;
window.ScrollMagic = ScrollMagic;
but using it with requirejs requires these to be defined otherwise.
Using requirejs shim syntax doesn't work because ScrollMagic exports 2 variables as far as I know. Is there a way to use ScrollMagic as an AMD module?
Hello,
Is there a way to use the ScrollMagic plugin as an AMD module?
I see it defines two variables in the
windowlevel :window.ScrollScene = ScrollScene;
window.ScrollMagic = ScrollMagic;
but using it with requirejs requires these to be defined otherwise.
Using requirejs
shimsyntax doesn't work because ScrollMagic exports 2 variables as far as I know. Is there a way to use ScrollMagic as an AMD module?