Jump to content
Search Community

ALFer last won the day on February 11 2013

ALFer had the most liked content!

ALFer

Members
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ALFer

  1. Yes, I read that topic (from it I learned about the GreenSockAMDPath) and that project working well. But, I'm not used GSAP files from zips in my project (is there are modified TweenMax file?). 

    I have a bit of different situation from that topic =( See, I create simple project with my situation (in attach). I know that in this particular class there is no need in TimelineLite, but I have another "classes" that need it...

     

     

    PS: Sorry for my English =)

    GSAP_RequireJS.zip

  2. 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) =( 

×
×
  • Create New...