Hello. I have project with few AMD modules. Each of these uses and TimelineLite and TweenLite. But the modules are not loaded correctly. For example:
define(
[
"jquery",
"libs/gsap/TimelineLite",
"libs/gsap/TweenLite"
],
function($, TimelineLite, TweenLite) {
so, here TimelineLite - undefined but TweenLite - defined =|
What I'm doing wrong? =)
Btw, I think that
var GreenSockAMDPath = "libs/gsap";
looks not so AMD-style (global variable) =(