Using with require.js in GSAP Posted January 30, 2013 Hi, Thanks for the sample and the great library Jack! Unfortunately the sample fails when you move TweenMax to a sub directory Folder structure: ./js ./greensock ./TweenMax.js ./main_req.js ./require.jsmain_req.js: require(["greensock/TweenMax"], function { TM.to(...);});
Using with require.js
in GSAP
Posted
Hi,
Thanks for the sample and the great library Jack!
Unfortunately the sample fails when you move TweenMax to a sub directory
Folder structure:
main_req.js: