YUI.html revision eb9b6f817df5c660be9f00fc5d27fe33479fdc98
<html>
<head>
<title>API: yui YUI (YUI Library)</title>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<h3>yui <span class="subtitle">3.00PR1</span></h3>
<p>
> YUI
</p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="yui-classopts-form">
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> Show Private</span>
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> Show Protected</span>
<span id="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> Show Deprecated</span>
</form>
<h2>
Class <b>YUI</b>
<span class="extends">
</span>
<span class="extends">
- uses
</span>
</code>
</h2>
<!-- class tree goes here -->
<div class="summary description">
The YUI global namespace object. If YUI is already defined, the
existing YUI object will not be overwritten so that defined
namespaces are preserved.
</div>
<div class="section constructor details">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong>YUI</strong>
<code>
(
o
)
</code>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o
<object>
</code>
Optional configuration object. Options:
<ul>
<li>------------------------------------------------------------------------</li>
<li>Global:</li>
<li>------------------------------------------------------------------------</li>
<li>debug:
Turn debug statements on or off</li>
<li>useConsole:
Log to the browser console if debug is on and the console is available</li>
<li>logInclude:
A list of log sources that should be logged. If specified, only log messages from these sources will be logged.</li>
<li>logExclude:
A list of log sources that should be not be logged. If specified, all sources are logged if not on this list.</li>
<li>throwFail:
If throwFail is set, Y.fail will generate or re-throw a JS error. Otherwise the failure is logged.
<li>win:
<li>core:
A list of modules that defines the YUI core (overrides the default)</li>
<li>------------------------------------------------------------------------</li>
<li>For event and get:</li>
<li>------------------------------------------------------------------------</li>
<li>pollInterval:
The default poll interval</li>
<li>-------------------------------------------------------------------------</li>
<li>For loader:</li>
<li>-------------------------------------------------------------------------</li>
<li>base:
The base dir</li>
<li>secureBase:
The secure base dir (not implemented)</li>
<li>comboBase:
The YUI combo service base dir. Ex: http://yui.yahooapis.com/combo?</li>
<li>root:
<li>filter:
A filter to apply to result urls. This filter will modify the default
path for all modules. The default path for the YUI library is the
minified version of the files (e.g., event-min.js). The filter property
can be a predefined filter or a custom filter. The valid predefined
filters are:
<dl>
<dt>DEBUG</dt>
This option will automatically include the logger widget</dd>
<dt>RAW</dt>
</dl>
You can also define a custom filter, which must be an object literal
containing a search expression and a replace string:
<pre>
myFilter: {
'searchExp': "-min\\.js",
'replaceStr': "-debug.js"
}
</pre>
</li>
<li>combine:
Use the YUI combo service to reduce the number of http connections required to load your dependencies</li>
<li>ignore:
A list of modules that should never be dynamically loaded</li>
<li>force:
A list of modules that should always be loaded when required, even if already present on the page</li>
<li>insertBefore:
Node or id for a node that should be used as the insertion point for new nodes</li>
<li>charset:
charset for dynamic nodes</li>
<li>timeout:
number of milliseconds before a timeout occurs when dynamically loading nodes. in not set, there is no timeout</li>
<li>context:
execution context for all callbacks</li>
<li>onSuccess:
callback for the 'success' event</li>
<li>onFailure:
callback for the 'failure' event</li>
<li>onTimeout:
callback for the 'timeout' event</li>
<li>onProgress:
callback executed each time a script or css file is loaded</li>
<li>modules:
A list of module definitions. See Loader.addModule for the supported module metadata</li>
</ul>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="private">
<h4><a name="property__iefix">_iefix</a>
<code>- private object</code>
</h4>
<div class="detail">
<div class="description">
IE will not enumerate native functions in a derived object even if the
function was overridden. This is a workaround for specific functions
we care about on the Object prototype.
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="private">
<h4>
<a name="method__init">_init</a></h4>
<div class="detail">
<code>
private
void
<strong>_init</strong>
(
o
)
</code>
<div class="description">
Initialize this YUI instance
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o <object></code>
config options
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method__setup">_setup</a></h4>
<div class="detail">
<code>
private
void
<strong>_setup</strong>
(
)
</code>
<div class="description">
Finishes the instance setup. Attaches whatever modules were defined
when the yui modules was registered.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_add">add</a></h4>
<div class="detail">
<code>
YUI
<strong>add</strong>
(
name
,
namespace
,
fn
,
version
)
</code>
<div class="description">
Register a module
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>name <string></code>
module name
</dd>
<dd>
<code>namespace <string></code>
name space for the module
</dd>
<dd>
<code>fn <Function></code>
entry point into the module that
is used to bind module to the YUI instance
</dd>
<dd>
<code>version <string></code>
version string
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>the YUI instance
requires - features that should be present before loading
optional - optional features that should be present if load optional defined
use - features that should be attached automatically
skinnable -
rollup
omit - features that should not be loaded if this module is present</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_aggregate">aggregate</a></h4>
<div class="detail">
<code>
object
<strong>aggregate</strong>
(
r
,
s
,
ov
,
wl
)
</code>
<div class="description">
Applies object properties from the supplier to the receiver. If
the target has the property, and the property is an object, the target
object will be augmented with the supplier's value. If the property
is an array, the suppliers value will be appended to the target.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>r <Function></code>
the object to receive the augmentation
</dd>
<dd>
<code>s <Function></code>
the object that supplies the properties to augment
</dd>
<dd>
<code>ov <boolean></code>
if true, properties already on the receiver
will be overwritten if found on the supplier.
</dd>
<dd>
<code>wl <string[]></code>
a whitelist. If supplied, only properties in
this list will be applied to the receiver.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>the extended object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_applyTo">applyTo</a></h4>
<div class="detail">
<code>
object
<strong>applyTo</strong>
(
id
,
method
,
args
)
</code>
<div class="description">
Executes a method on a YUI instance with
the specified id if the specified method is whitelisted.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>id <string></code>
the YUI instance id
</dd>
<dd>
<code>method <string></code>
the name of the method to exectute.
Ex: 'Object.keys'
</dd>
<dd>
<code>args <Array></code>
the arguments to apply to the method
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>the return value from the applied method or null</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_augment">augment</a></h4>
<div class="detail">
<code>
object
<strong>augment</strong>
(
r
,
s
,
ov
,
wl
,
args
)
</code>
<div class="description">
Applies prototype properties from the supplier to the receiver.
The receiver can be a constructor or an instance.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>r <Function></code>
the object to receive the augmentation
</dd>
<dd>
<code>s <Function></code>
the object that supplies the properties to augment
</dd>
<dd>
<code>ov <boolean></code>
if true, properties already on the receiver
will be overwritten if found on the supplier.
</dd>
<dd>
<code>wl <string[]></code>
a whitelist. If supplied, only properties in
this list will be applied to the receiver.
</dd>
<dd>
<code>args <Array | Any></code>
arg or arguments to apply to the supplier
constructor when initializing.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>the augmented object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_bind">bind</a></h4>
<div class="detail">
<code>
function
<strong>bind</strong>
(
f
,
c
,
args*
)
</code>
<div class="description">
Returns a function that will execute the supplied function in the
supplied object's context, optionally adding any additional
supplied parameters to the end of the arguments the function
is executed with.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>f <Function></code>
the function to bind
</dd>
<dd>
<code>c <object></code>
the execution context
</dd>
<dd>
<code>args* <object></code>
0..n arguments to append to the arguments collection for the function
</dd>
</dl>
<dl>
<dt>Returns:
<code>
function
</code></dt>
<dd>the wrapped function</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_clone">clone</a></h4>
<div class="detail">
<code>
Array|Object
<strong>clone</strong>
(
o
,
safe
,
f
,
c
,
owner
)
</code>
<div class="description">
Array-like objects are treated as arrays.
primitives are returned untouched. Optionally a
function can be provided to handle other data types,
filter keys, validate values, etc.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o <object></code>
what to clone
</dd>
<dd>
<code>safe <boolean></code>
if true, objects will not have prototype
items from the source. If false, it does. In this case, the
original is initally protected, but the clone is not completely immune
from changes to the source object prototype. Also, cloned prototype
items that are deleted from the clone will result in the value
of the source prototype to be exposed. If operating on a non-safe
clone, items should be nulled out rather than deleted.
</dd>
<dd>
<code>f <object></code>
optional function to apply to each item in a collection
it will be executed prior to applying the value to
the new object. Return false to prevent the copy.
</dd>
<dd>
<code>c <object></code>
optional execution context for f
</dd>
<dd>
<code>owner <object></code>
Owner object passed when clone is iterating an
object. Used to set up context for cloned functions.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
Array|Object
</code></dt>
<dd>the cloned object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_dump">dump</a></h4>
<div class="detail">
<code>
String
<strong>dump</strong>
(
o
,
d
)
</code>
<div class="description">
Returns a simple string representation of the object or array.
Other types of objects will be returned unprocessed. Arrays
are expected to be indexed. Use object notation for
associative arrays.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o <Object></code>
The object to dump
</dd>
<dd>
<code>d <int></code>
How deep to recurse child objects, default 3
</dd>
</dl>
<dl>
<dt>Returns:
<code>
String
</code></dt>
<dd>the dump result</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_each">each</a></h4>
<div class="detail">
<code>
YUI
<strong>each</strong>
(
o
,
f
,
proto
)
</code>
<div class="description">
Executes the supplied function for each item in
a collection. Supports arrays, objects, and
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o <object></code>
the object to iterate
</dd>
<dd>
<code>f <object></code>
the function to execute. This function
receives the value, key, and object as parameters
</dd>
<dd>
<code>proto <object></code>
if true, prototype properties are
iterated on objects
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>the YUI instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_extend">extend</a></h4>
<div class="detail">
<code>
static
YUI
<strong>extend</strong>
(
r
,
s
,
px
,
sx
)
</code>
<div class="description">
Utility to set up the prototype, constructor and superclass properties to
support an inheritance strategy that can chain constructors and methods.
Static members will not be inherited.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>r <Function></code>
the object to modify
</dd>
<dd>
<code>s <Function></code>
the object to inherit
</dd>
<dd>
<code>px <Object></code>
</dd>
<dd>
<code>sx <Object></code>
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>the YUI instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_fail">fail</a></h4>
<div class="detail">
<code>
YUI
<strong>fail</strong>
(
msg
,
e
)
</code>
<div class="description">
Report an error. The reporting mechanism is controled by
the 'throwFail' configuration attribute. If throwFail is
not specified, the message is written to the logger, otherwise
a JS error is thrown
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>msg <string></code>
the failure message
</dd>
<dd>
<code>e <Error></code>
Optional JS error that was caught. If supplied
and throwFail is specified, this error will be re-thrown.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>this YUI instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_guid">guid</a></h4>
<div class="detail">
<code>
string
<strong>guid</strong>
(
pre
)
</code>
<div class="description">
Generate an id that is unique among all YUI instances
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>pre <string></code>
optional guid prefix
</dd>
</dl>
<dl>
<dt>Returns:
<code>
string
</code></dt>
<dd>the guid</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_later">later</a></h4>
<div class="detail">
<code>
object
<strong>later</strong>
(
when
,
o
,
fn
,
data
,
periodic
)
</code>
<div class="description">
Executes the supplied function in the context of the supplied
object 'when' milliseconds later. Executes the function a
single time unless periodic is set to true.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>when <int></code>
the number of milliseconds to wait until the fn
is executed.
</dd>
<dd>
<code>o <object></code>
the context object.
</dd>
<dd>
<code>fn <Function|String></code>
the function to execute or the name of
the method in the 'o' object to execute.
</dd>
<dd>
<code>data <object></code>
[Array] data that is provided to the function. This accepts
either a single item or an array. If an array is provided, the
function is executed with one parameter for each array item. If
you need to pass a single array parameter, it needs to be wrapped in
an array [myarray].
</dd>
<dd>
<code>periodic <boolean></code>
if true, executes continuously at supplied
interval until canceled.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>a timer object. Call the cancel() method on this object to
stop the timer.</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_log">log</a></h4>
<div class="detail">
<code>
YUI
<strong>log</strong>
(
msg
,
cat
,
src
)
</code>
<div class="description">
If the 'debug' config is true, a 'yui:log' event will be
dispatched, which the logger widget and anything else
can consume. If the 'useConsole' config is true, it will
write to the browser console if available.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>msg <String></code>
The message to log.
</dd>
<dd>
<code>cat <String></code>
The log category for the message. Default
categories are "info", "warn", "error", time".
Custom categories can be used as well. (opt)
</dd>
<dd>
<code>src <String></code>
The source of the the message (opt)
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>YUI instance</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_merge">merge</a></h4>
<div class="detail">
<code>
object
<strong>merge</strong>
(
arguments
)
</code>
<div class="description">
Returns a new object containing all of the properties of
all the supplied objects. The properties from later objects
will overwrite those in earlier objects. Passing in a
single object will create a shallow copy of it. For a deep
copy, use clone.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>arguments <Object*></code>
the objects to merge
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>the new merged object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_mix">mix</a></h4>
<div class="detail">
<code>
object
<strong>mix</strong>
(
r
,
s
,
ov
,
wl
,
mode
,
merge
)
</code>
<div class="description">
Applies the supplier's properties to the receiver. By default
all prototype and static propertes on the supplier are applied
to the corresponding spot on the receiver. By default all
properties are applied, and a property that is already on the
reciever will not be overwritten. The default behavior can
be modified by supplying the appropriate parameters.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>r <Function></code>
the object to receive the augmentation
</dd>
<dd>
<code>s <Function></code>
the object that supplies the properties to augment
</dd>
<dd>
<code>ov <boolean></code>
if true, properties already on the receiver
will be overwritten if found on the supplier.
</dd>
<dd>
<code>wl <string[]></code>
a whitelist. If supplied, only properties in
this list will be applied to the receiver.
</dd>
<dd>
<code>mode <int></code>
what should be copies, and to where
default(0): object to object
1: prototype to prototype (old augment)
2: prototype to prototype and object props (new augment)
3: prototype to object
4: object to prototype
</dd>
<dd>
<code>merge <boolean></code>
merge objects instead of overwriting/ignoring
Used by Y.aggregate
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>the augmented object</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_namespace">namespace</a></h4>
<div class="detail">
<code>
object
<strong>namespace</strong>
(
arguments
)
</code>
<div class="description">
Returns the namespace specified and creates it if it doesn't exist
<pre>
</pre>
Either of the above would create YUI.property, then
Be careful when naming packages. Reserved words may work in some browsers
and not others. For instance, the following will fail in Safari:
<pre>
</pre>
This fails because "long" is a future reserved word in ECMAScript
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>arguments <string*></code>
1-n namespaces to create
</dd>
</dl>
<dl>
<dt>Returns:
<code>
object
</code></dt>
<dd>A reference to the last namespace object created</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_stamp">stamp</a></h4>
<div class="detail">
<code>
string
<strong>stamp</strong>
(
o
)
</code>
<div class="description">
Stamps an object with a guid. If the object already
has one, a new one is not created
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o <object></code>
The object to stamp
</dd>
</dl>
<dl>
<dt>Returns:
<code>
string
</code></dt>
<dd>The object's guid</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_substitute">substitute</a></h4>
<div class="detail">
<code>
String
<strong>substitute</strong>
(
s
,
o
,
f
)
</code>
<div class="description">
Does variable substitution on a string. It scans through the string
looking for expressions enclosed in { } braces. If an expression
is found, it is used a key on the object. If there is a space in
the key, the first word is used for the key and the rest is provided
to an optional function to be used to programatically determine the
value (the extra information might be used for this decision). If
the value for the key in the object, or what is returned from the
function has a string value, number value, or object value, it is
substituted for the bracket expression and it repeats. If this
value is an object, it uses the Object's toString() if this has
pairs if Y.dump is available (if dump isn't available, toString()
is used).
This method is included in the 'substitute' module. It is not included
in the YUI module.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>s <String></code>
The string that will be modified.
</dd>
<dd>
<code>o <Object></code>
An object containing the replacement values
</dd>
<dd>
<code>f <Function></code>
An optional function that can be used to
process each match. It receives the key,
value, and any extra metadata included with
the key inside of the braces.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
String
</code></dt>
<dd>the substituted string</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_use">use</a></h4>
<div class="detail">
<code>
YUI
<strong>use</strong>
(
modules*
,
*callback
)
</code>
<div class="description">
Bind a module to a YUI instance
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>modules* <string></code>
1-n modules to bind (uses arguments array)
</dd>
<dd>
<code>*callback <function></code>
callback function executed when
the instance has the required functionality. If included, it
must be the last parameter.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
YUI
</code></dt>
<dd>the YUI instance</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field inheritance">
<div class="content">
<code>
<a class="" href="Event.Target.html#method_addTarget">addTarget</a><span class="">,</span> <a class="" href="Event.Target.html#method_after">after</a><span class="">,</span> <a class="" href="Event.Target.html#method_before">before</a><span class="">,</span> <a class="" href="Event.Target.html#method_bubble">bubble</a><span class="">,</span> <a class="" href="Event.Target.html#method_detach">detach</a><span class="">,</span> <a class="" href="Event.Target.html#method_fire">fire</a><span class="">,</span> <a class="" href="Event.Target.html#method_getEvent">getEvent</a><span class="">,</span> <a class="" href="Event.Target.html#method_on">on</a><span class="">,</span> <a class="" href="Event.Target.html#method_publish">publish</a><span class="">,</span> <a class="" href="Event.Target.html#method_ready">ready</a><span class="">,</span> <a class="" href="Event.Target.html#method_removeTarget">removeTarget</a><span class="">,</span> <a class="" href="Event.Target.html#method_subscribe">subscribe</a><span class="">,</span> <a class="" href="Event.Target.html#method_unsubscribe">unsubscribe</a><span class="">,</span> <a class="" href="Event.Target.html#method_unsubscribeAll">unsubscribeAll</a>
</code>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Properties</h4>
<ul class="content">
<li class="private"><a href="#property__iefix">_iefix</a>
<!--<code><object></code>-->
</li>
</ul>
</div>
<div class="module">
<h4>Methods</h4>
<ul class="content">
<li class="private"><!--<code>void</code>-->
<a href="#method__init">_init</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method__setup">_setup</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_add">add</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_aggregate">aggregate</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_applyTo">applyTo</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_augment">augment</a>
</li>
<li class=""><!--<code>function</code>-->
<a href="#method_bind">bind</a>
</li>
<li class=""><!--<code>Array|Object</code>-->
<a href="#method_clone">clone</a>
</li>
<li class=""><!--<code>String</code>-->
<a href="#method_dump">dump</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_each">each</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_extend">extend</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_fail">fail</a>
</li>
<li class=""><!--<code>string</code>-->
<a href="#method_guid">guid</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_later">later</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_log">log</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_merge">merge</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_mix">mix</a>
</li>
<li class=""><!--<code>object</code>-->
<a href="#method_namespace">namespace</a>
</li>
<li class=""><!--<code>string</code>-->
<a href="#method_stamp">stamp</a>
</li>
<li class=""><!--<code>String</code>-->
<a href="#method_substitute">substitute</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_use">use</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright © 2008 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>