On 8/17/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > hi igor, > > > while this might help one-file js libs like prototype how is it going to > > work for libs that load other files themselves? > > you can have the same dojo version in two different components, but they > can > > include different modules... > > yes - and? as long as all dojo-files are included, both components can > load > there modules from the same contribution. in most cases it's very > unlikely, that > the distributions are stripped down to only the needed items. > > that's also just the point, having some sort of common id for libraries > should > assure all dependend files are available at that location.
i have plenty of usecases where for different components i used dojo and i stripped it down to just the widgets the component needed. or take scriptaculous, sometimes you want effects, other times just drag and drop. you are assuming that each component will include the full version of the js lib even though it only uses a small subset of it - probably not the case. -igor --- jan. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
