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
>
>
>
>
.