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.