- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: 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.
Class Relations
Methods (to be applied on the object)
require (scripted, public)
YUI::loader
require [ -module module ] [ -version version ]
This is the key function of the loader, that will be used by other packages.
- Switches:
- -module (optional)
- The YUI Module to be loaded
- -version (optional, defaults to
"2.7.0b"
)
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables