← Back to team overview

launchpad-dev team mailing list archive

Re: YUI().use(...) blocks can be costly?

 

On September 16, 2009, Gavin Panella wrote:
> However, Deryck wondered if there's something in the latest YUI3 beta
> that ameliorates this issue. Is there a YUI3 expert who can comment on
> this?
> 

Not really, this is really a design decision by Yahoo. This is to ensure being 
able to have multiple components on the page using different versions of the 
modules and not being able to mess with each other (security considerations).

The solution if we don't care about these features is to share the Y instance 
like Sidnei suggested. (We already do this for the API code)

-- 
Francis J. Lacoste
francis.lacoste@xxxxxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


References