List Info

Thread: Re: Re: YUI loader and your own modules




Re: Re: YUI loader and your own modules
country flaguser name
Spain
2008-07-10 02:06:32

Yes to the first, no to the second.

If you don't put the call to register there, the Loader will wait
forever and will never call the success or failure callbacks. Always
make the call the last thing in the source.

You declare dependencies via method addModule

Satyam

wendymcameron wrote:
> So if i use the YAHOO.register method then yui knows about my module?
> is that correct?
>
>; So does the register method allow you to define its dependancies?
>
> Regards Wendy
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>;
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 09/07/2008 6:50
>;
>
>
>

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )