0

Mojito causing YUI module to initialize twice?

I am debugging a page that includes a YUI module from an external file and also a huge block of code specific to Mojito. 

Somehow the callback function of 
YUI.add('module_name', function () { code to run } , ...);

is running twice and breaking the functionality. I have already confirmed that the Mojito code is causing the issue. Is there anything that would cause a YUI module to initialize twice?

Thanks in advance.

by
1 Reply
  • could be related to this issue:

    https://github.com/yahoo/mojito/issues/53


    QUOTE(Alex @ 26 Sep 2012 6:42 PM)
    I am debugging a page that includes a YUI module from an external file and also a huge block of code specific to Mojito. 

    Somehow the callback function of 
    YUI.add('module_name', function () { code to run } , ...);

    is running twice and breaking the functionality. I have already confirmed that the Mojito code is causing the issue. Is there anything that would cause a YUI module to initialize twice?

    Thanks in advance.
    0

Recent Posts

in Yahoo! Mojito