xotcl.wu-wien.ac.at
Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Object[i] ::YUI::loader

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

Methods

  • proc require (public)

    ::YUI::loader[i] 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 (defaults to "2.7.0b") (optional)

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]