Hi,
> Can you show how you modified the JQuery library to generate the
> package-object? Code?
In case of jQuery I simply appended:
$package('jquery',{});
The plugins are wrapped with:
$using('jquery',function() {
...
$package('jquery.myplugin',{});
});
You can also define multiple dependencies like this:
$using(['jquery.fx','jquery.dom'],function{
... // here we use the two plugins.
});
For code that needs these two plugins loaded. Since they are wrapped with
$using() like I have written above this will load jQuery as well.
Christof
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/