taurus
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by taurus
-
-
Can Greensock TweenLite/TweenMax globals be obtained when using the library as CommonJS module?
E.g. easing functions that are available as window.com.greensock.easing, like
let Power4 = require('./TweenMax')...
I feel myself 10 years younger when I look at all these globals. I look at the source code and see that the only export is TweenMax constructor. Can it be done somehow without resorting to globals at all?
Greensock TweenLite/TweenMax exported globals with CommonJS module
in GSAP
Posted
That's excellent, thank you for the constructive answer. I'm eager to see these changes in the original repo instead of forking it.