Jump to content
Search Community

taurus

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by taurus

  1. 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?

×
×
  • Create New...