Tina
2012/4/20 Joe LeBlanc <con...@jlleblanc.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-cms/-/zbAVob9B1uMJ.
> To post to this group, send an email to joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
The manager does allow you to designate scripts as being dependent upon a particular library. So for instance, you would load YUI as a library, then load your scripts and tell the library manager that they depend on YUI.
As far as I know though, the scenario you present is one that's already currently a problem with Joomla. To actually get around that problem, you'd need to use the "defer" attribute on script tags, or use something like LABjs or RequireJS to load the scripts from the client side. That would also be an excellent addition to Joomla, IMO.
-Joe