|[All Methods | Documented Methods | Hide Methods]||[Display Source | Hide Source]||[Show Variables | Hide Variables]|
The YUI Library comes with a "Loader" module, that resolves YUI-module dependencies. Also, it combines numerous files into one single file to increase page loading performance. This works only for the "hosted" YUI library. This Loader module should basically do the same (in future). For two simple calls like e.g. "::YUI::loader require menu" and "::YUI::loader require datatable" it should take care of selecting all the files needed and assemble them into one single resource, that may be delivered. Note, that this is not implemented yet.
Defined in packages/xowiki/tcl/folder-procs.tcl
proc require (public)
This is the key function of the loader, that will be used by other packages.
- -module (optional)
- The YUI Module to be loaded
- -version (defaults to