--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui3.0.0/api/Get.html Mon Nov 23 15:14:29 2009 +0100
@@ -0,0 +1,1322 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>API: yui Get (YUI Library)</title>
+
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css" />
+
+ <script type="text/javascript" src="assets/api-js"></script>
+ <script type="text/javascript" src="assets/ac-js"></script>
+</head>
+
+<body id="yahoo-com">
+
+<div id="doc3" class="yui-t2">
+ <div id="hd">
+ <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
+ <h3>yui <span class="subtitle">3.0.0</span></h3>
+ <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
+ > <a href="./module_yui.html" title="yui">yui</a>
+ > Get
+
+ <form onsubmit="return false">
+ <div id="propertysearch">
+ Search: <input autocomplete="off" id="searchinput" />
+ <div id="searchresults">
+
+ </div>
+ </div>
+ </form>
+ </div>
+
+ <div id="bd">
+ <div id="yui-main">
+ <div class="yui-b">
+ <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
+ <fieldset>
+ <legend>Filters</legend>
+ <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
+ <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
+ <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
+ </fieldset>
+ </form>
+
+ <h2>
+
+
+ <code>static</code>
+
+ Class <b property="yui:name">Get</b>
+ <span class="extends">
+ </span>
+
+ </h2>
+ <!-- class tree goes here -->
+
+
+
+
+ <div class="summary description" property="yui:description">
+ Fetches and inserts one or more script or link nodes into the document
+ </div>
+
+
+ <div rel="yui:properties" resource="#properties">
+ <div class="section field details">
+ <h3 id="properties">Properties</h3>
+ <div class="content">
+ <div class="private" rel="yui:property" resource="#property_PURGE_THRESH">
+ <h4><a name="property_PURGE_THRESH" property="yui:name">PURGE_THRESH</a>
+ - <code>private static <span property="yui:type">int</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ The number of request required before an automatic purge.
+Can be configured via the 'purgethreshold' config
+property PURGE_THRESH
+ </div>
+ </div>
+
+
+ <div class="default" property="yui:defaultValue">
+ Default Value: 20
+ </div>
+
+
+ <hr />
+ </div>
+ <div class="private" rel="yui:property" resource="#property_purging">
+ <h4><a name="property_purging" property="yui:name">purging</a>
+ - <code>private <span property="yui:type">boolean</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ interal property used to prevent multiple simultaneous purge
+processes
+ </div>
+ </div>
+
+
+
+
+ <hr />
+ </div>
+ <div class="private" rel="yui:property" resource="#property_qidx">
+ <h4><a name="property_qidx" property="yui:name">qidx</a>
+ - <code>private <span property="yui:type">int</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ queue index used to generate transaction ids
+ </div>
+ </div>
+
+
+
+
+ <hr />
+ </div>
+ <div class="private" rel="yui:property" resource="#property_queues">
+ <h4><a name="property_queues" property="yui:name">queues</a>
+ - <code>private <span property="yui:type">object</span></code>
+ </h4>
+ <div class="detail">
+ <div class="description" property="yui:description">
+ hash of queues to manage multiple requests
+ </div>
+ </div>
+
+
+
+
+ <hr />
+ </div>
+ </div>
+ </div>
+
+ </div>
+
+ <div rel="yui:methods" resource="#methods">
+ <div class="section method details">
+ <h3 id="methods">Methods</h3>
+ <div class="content">
+ <div class="private" rel="yui:method" resource="#method__autoPurge">
+ <h4>
+ <a name="method__autoPurge">_autoPurge</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_autoPurge</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Removes processed queues and corresponding nodes
+ </div>
+
+ <div class="description">
+
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__end">
+ <h4>
+ <a name="method__end">_end</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_end</strong>
+ (
+
+
+ id
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ The transaction is finished
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the id of the request</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__finalize">
+ <h4>
+ <a name="method__finalize">_finalize</a></h4>
+ <div class="detail" >
+ <code>
+ private
+ static
+
+ void
+ <strong property="yui:name">_finalize</strong>
+ (
+
+
+ id
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Called by the the helper for detecting script load in Safari
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the transaction id</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__finish">
+ <h4>
+ <a name="method__finish">_finish</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_finish</strong>
+ (
+
+
+ id
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ The request is complete, so executing the requester's callback
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the id of the request</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__linkNode">
+ <h4>
+ <a name="method__linkNode">_linkNode</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ HTMLElement
+ <strong property="yui:name">_linkNode</strong>
+ (
+
+
+ url
+
+
+ ,
+ win
+
+
+ ,
+ attributes
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Generates a link node
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url for the css file</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">win</span>
+ <<span property="yui:type">Window</span>>
+ </code>
+ <span property="yui:description"> optional window to create the node in</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attributes</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> optional attributes collection to apply to the new node</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ HTMLElement
+ </code></dt>
+ <dd property="yui:returnInfo">the generated node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__next">
+ <h4>
+ <a name="method__next">_next</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_next</strong>
+ (
+
+
+ id
+
+
+ ,
+ loaded
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Loads the next item for a given request
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the id of the request</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">loaded</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url that was just loaded, if any</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__node">
+ <h4>
+ <a name="method__node">_node</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ HTMLElement
+ <strong property="yui:name">_node</strong>
+ (
+
+
+ type
+
+
+ ,
+ attr
+
+
+ ,
+ win
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Generates an HTML element, this is not appended to a document
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">type</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the type of element</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attr</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the attributes</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">win</span>
+ <<span property="yui:type">Window</span>>
+ </code>
+ <span property="yui:description"> optional window to create the element in</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ HTMLElement
+ </code></dt>
+ <dd property="yui:returnInfo">the generated node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__purge">
+ <h4>
+ <a name="method__purge">_purge</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_purge</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Removes the nodes for the specified queue
+ </div>
+
+ <div class="description">
+
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__returnData">
+ <h4>
+ <a name="method__returnData">_returnData</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_returnData</strong>
+ (
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Returns the data payload for callback functions
+ </div>
+
+ <div class="description">
+
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__scriptNode">
+ <h4>
+ <a name="method__scriptNode">_scriptNode</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ HTMLElement
+ <strong property="yui:name">_scriptNode</strong>
+ (
+
+
+ url
+
+
+ ,
+ win
+
+
+ ,
+ attributes
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Generates a script node
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url for the script file</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">win</span>
+ <<span property="yui:type">Window</span>>
+ </code>
+ <span property="yui:description"> optional window to create the node in</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">attributes</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> optional attributes collection to apply to the new node</span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ HTMLElement
+ </code></dt>
+ <dd property="yui:returnInfo">the generated node</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__timeout">
+ <h4>
+ <a name="method__timeout">_timeout</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_timeout</strong>
+ (
+
+
+ id
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Timeout detected
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the id of the request</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method__track">
+ <h4>
+ <a name="method__track">_track</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">_track</strong>
+ (
+
+
+ type
+
+
+ ,
+ n
+
+
+ ,
+ id
+
+
+ ,
+ url
+
+
+ ,
+ win
+
+
+ ,
+ qlength
+
+
+ ,
+ trackfn
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Detects when a node has been loaded. In the case of
+script nodes, this does not guarantee that contained
+script is ready to use.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">type</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the type of node to track</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">n</span>
+ <<span property="yui:type">HTMLElement</span>>
+ </code>
+ <span property="yui:description"> the node to track</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">id</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the id of the request</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url that is being loaded</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">win</span>
+ <<span property="yui:type">Window</span>>
+ </code>
+ <span property="yui:description"> the targeted window</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">qlength</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> the number of remaining items in the queue,
+including this one</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">trackfn</span>
+ <<span property="yui:type">Function</span>>
+ </code>
+ <span property="yui:description"> function to execute when finished
+the default is _next</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_abort">
+ <h4>
+ <a name="method_abort">abort</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ void
+ <strong property="yui:name">abort</strong>
+ (
+
+
+ o
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Abort a transaction
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">o</span>
+ <<span property="yui:type">string|object</span>>
+ </code>
+ <span property="yui:description"> Either the tId or the object returned from
+script() or css()</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_css">
+ <h4>
+ <a name="method_css">css</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ tId: string
+ <strong property="yui:name">css</strong>
+ (
+
+
+ url
+
+
+ ,
+ opts
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Fetches and inserts one or more css link nodes into the
+head of the current document or the document in a specified
+window.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url or urls to the css file(s)</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">opts</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> Options:
+<dl>
+<dt>onSuccess</dt>
+<dd>
+callback to execute when the css file(s) are finished loading
+The callback receives an object back with the following
+data:
+<dl>win</dl>
+<dd>the window the link nodes(s) were inserted into</dd>
+<dt>data</dt>
+<dd>the data object passed in when the request was made</dd>
+<dt>nodes</dt>
+<dd>An array containing references to the nodes that were
+inserted</dd>
+<dt>purge</dt>
+<dd>A function that, when executed, will remove the nodes
+that were inserted</dd>
+<dt>
+</dl>
+</dd>
+<dt>context</dt>
+<dd>the execution context for the callbacks</dd>
+<dt>win</dt>
+<dd>a window other than the one the utility occupies</dd>
+<dt>data</dt>
+<dd>
+data that is supplied to the callbacks when the nodes(s) are
+loaded.
+</dd>
+<dt>insertBefore</dt>
+<dd>node or node id that will become the new node's nextSibling</dd>
+<dt>charset</dt>
+<dd>Node charset, default utf-8 (deprecated, use the attributes config)</dd>
+<dt>attributes</dt>
+<dd>An object literal containing additional attributes to add to the link tags</dd>
+</dl>
+<pre>
+Y.Get.css("http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css");
+</pre>
+<pre>
+ Y.Get.css(
+ ["http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css",
+ "http://yui.yahooapis.com/2.3.1/build/logger/assets/skins/sam/logger.css"], {
+ insertBefore: 'custom-styles' // nodes will be inserted before the specified node
+ });
+</pre></span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ tId: string
+ </code></dt>
+ <dd property="yui:returnInfo">an object containing info about the transaction</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="private" rel="yui:method" resource="#method_queue">
+ <h4>
+ <a name="method_queue">queue</a></h4>
+ <div class="detail" >
+ <code>
+ private
+
+
+ void
+ <strong property="yui:name">queue</strong>
+ (
+
+
+ type
+
+
+ ,
+ url
+
+
+ ,
+ opts
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Saves the state for the request and begins loading
+the requested urls
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">type</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the type of node to insert</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string</span>>
+ </code>
+ <span property="yui:description"> the url to load</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">opts</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> the hash of options for this request</span>
+ </dd>
+ </dl>
+
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ <div class="" rel="yui:method" resource="#method_script">
+ <h4>
+ <a name="method_script">script</a></h4>
+ <div class="detail" >
+ <code>
+
+ static
+
+ tId: string
+ <strong property="yui:name">script</strong>
+ (
+
+
+ url
+
+
+ ,
+ opts
+
+
+ )
+ </code>
+
+ <div class="description" property="yui:description">
+ Fetches and inserts one or more script nodes into the head
+of the current document or the document in a specified window.
+ </div>
+
+ <div class="description">
+
+ <dl rel="yui:parameters">
+ <dt>Parameters:</dt>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">url</span>
+ <<span property="yui:type">string|string[]</span>>
+ </code>
+ <span property="yui:description"> the url or urls to the script(s)</span>
+ </dd>
+ <dd rel="yui:parameter">
+ <code><span property="yui:name">opts</span>
+ <<span property="yui:type">object</span>>
+ </code>
+ <span property="yui:description"> Options:
+<dl>
+<dt>onSuccess</dt>
+<dd>
+callback to execute when the script(s) are finished loading
+The callback receives an object back with the following
+data:
+<dl>
+<dt>win</dt>
+<dd>the window the script(s) were inserted into</dd>
+<dt>data</dt>
+<dd>the data object passed in when the request was made</dd>
+<dt>nodes</dt>
+<dd>An array containing references to the nodes that were
+inserted</dd>
+<dt>purge</dt>
+<dd>A function that, when executed, will remove the nodes
+that were inserted</dd>
+<dt>
+</dl>
+</dd>
+<dt>onTimeout</dt>
+<dd>
+callback to execute when a timeout occurs.
+The callback receives an object back with the following
+data:
+<dl>
+<dt>win</dt>
+<dd>the window the script(s) were inserted into</dd>
+<dt>data</dt>
+<dd>the data object passed in when the request was made</dd>
+<dt>nodes</dt>
+<dd>An array containing references to the nodes that were
+inserted</dd>
+<dt>purge</dt>
+<dd>A function that, when executed, will remove the nodes
+that were inserted</dd>
+<dt>
+</dl>
+</dd>
+<dt>onEnd</dt>
+<dd>a function that executes when the transaction finishes, regardless of the exit path</dd>
+<dt>onFailure</dt>
+<dd>
+callback to execute when the script load operation fails
+The callback receives an object back with the following
+data:
+<dl>
+<dt>win</dt>
+<dd>the window the script(s) were inserted into</dd>
+<dt>data</dt>
+<dd>the data object passed in when the request was made</dd>
+<dt>nodes</dt>
+<dd>An array containing references to the nodes that were
+inserted successfully</dd>
+<dt>purge</dt>
+<dd>A function that, when executed, will remove any nodes
+that were inserted</dd>
+<dt>
+</dl>
+</dd>
+<dt>context</dt>
+<dd>the execution context for the callbacks</dd>
+<dt>win</dt>
+<dd>a window other than the one the utility occupies</dd>
+<dt>autopurge</dt>
+<dd>
+setting to true will let the utilities cleanup routine purge
+the script once loaded
+</dd>
+<dt>purgethreshold</dt>
+<dd>
+The number of transaction before autopurge should be initiated
+</dd>
+<dt>data</dt>
+<dd>
+data that is supplied to the callback when the script(s) are
+loaded.
+</dd>
+<dt>insertBefore</dt>
+<dd>node or node id that will become the new node's nextSibling</dd>
+</dl>
+<dt>charset</dt>
+<dd>Node charset, default utf-8 (deprecated, use the attributes config)</dd>
+<dt>attributes</dt>
+<dd>An object literal containing additional attributes to add to the link tags</dd>
+<dt>timeout</dt>
+<dd>Number of milliseconds to wait before aborting and firing the timeout event</dd>
+<pre>
+ Y.Get.script(
+ ["http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js",
+ "http://yui.yahooapis.com/2.5.2/build/event/event-min.js"], {
+ onSuccess: function(o) {
+ this.log("won't cause error because Y is the context");
+ Y.log(o.data); // foo
+ Y.log(o.nodes.length === 2) // true
+ // o.purge(); // optionally remove the script nodes immediately
+ },
+ onFailure: function(o) {
+ Y.log("transaction failed");
+ },
+ onTimeout: function(o) {
+ Y.log("transaction timed out");
+ },
+ data: "foo",
+ timeout: 10000, // 10 second timeout
+ context: Y, // make the YUI instance
+ // win: otherframe // target another window/frame
+ autopurge: true // allow the utility to choose when to remove the nodes
+ purgetheshold: 1 // purge previous transaction before next transaction
+ });
+</pre></span>
+ </dd>
+ </dl>
+
+ <dl>
+ <dt>Returns:
+ <code property="yui:return">
+ tId: string
+ </code></dt>
+ <dd property="yui:returnInfo">an object containing info about the transaction</dd>
+ </dl>
+
+
+
+
+ </div>
+
+ </div>
+ <hr />
+ </div>
+ </div>
+ </div>
+
+ </div>
+
+ <div rel="yui:events" resource="#events">
+
+
+ </div>
+
+ <div rel="yui:attributes" resource="#configattributes">
+
+ </div>
+
+ </div>
+ </div>
+ <div class="yui-b">
+ <div class="nav">
+
+ <div id="moduleList" class="module">
+ <h4>Modules</h4>
+ <ul class="content">
+ <li class=""><a href="module_anim.html" title="anim">anim</a></li>
+ <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
+ <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
+ <li class=""><a href="module_base.html" title="base">base</a></li>
+ <li class=""><a href="module_cache.html" title="cache">cache</a></li>
+ <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
+ <li class=""><a href="module_collection.html" title="collection">collection</a></li>
+ <li class=""><a href="module_console.html" title="console">console</a></li>
+ <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
+ <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
+ <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
+ <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
+ <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
+ <li class=""><a href="module_dd.html" title="dd">dd</a></li>
+ <li class=""><a href="module_dom.html" title="dom">dom</a></li>
+ <li class=""><a href="module_dump.html" title="dump">dump</a></li>
+ <li class=""><a href="module_event.html" title="event">event</a></li>
+ <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
+ <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
+ <li class=""><a href="module_history.html" title="history">history</a></li>
+ <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
+ <li class=""><a href="module_io.html" title="io">io</a></li>
+ <li class=""><a href="module_json.html" title="json">json</a></li>
+ <li class=""><a href="module_node.html" title="node">node</a></li>
+ <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
+ <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
+ <li class=""><a href="module_oop.html" title="oop">oop</a></li>
+ <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
+ <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
+ <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
+ <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
+ <li class=""><a href="module_slider.html" title="slider">slider</a></li>
+ <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
+ <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
+ <li class=""><a href="module_test.html" title="test">test</a></li>
+ <li class=""><a href="module_widget.html" title="widget">widget</a></li>
+ <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
+ <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
+ <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
+ <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
+ <li class="selected"><a href="module_yui.html" title="yui">yui</a></li>
+ </ul>
+ </div>
+
+ <div id="classList" class="module">
+ <h4>Classes</h4>
+ <ul class="content">
+ <li class=""><a href="Array.html" title="Array">Array</a></li>
+ <li class=""><a href="config.html" title="config">config</a></li>
+ <li class="selected"><a href="Get.html" title="Get">Get</a></li>
+ <li class=""><a href="Lang.html" title="Lang">Lang</a></li>
+ <li class=""><a href="Object.html" title="Object">Object</a></li>
+ <li class=""><a href="Queue.html" title="Queue">Queue</a></li>
+ <li class=""><a href="UA.html" title="UA">UA</a></li>
+ <li class=""><a href="YUI.html" title="YUI">YUI</a></li>
+ </ul>
+ </div>
+
+ <div id="fileList" class="module">
+ <h4>Files</h4>
+ <ul class="content">
+ <li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li>
+ <li class=""><a href="get.js.html" title="get.js">get.js</a></li>
+ <li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li>
+ <li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li>
+ <li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li>
+ <li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li>
+ <li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li>
+ <li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li>
+ <li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li>
+ <li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li>
+ <li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li>
+ <li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li>
+ <li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li>
+ </ul>
+ </div>
+
+ <div id="propertyList" class="module">
+ <h4>Properties</h4>
+ <ul class="content">
+ <li class="private"><a href="#property_PURGE_THRESH" title="PURGE_THRESH">PURGE_THRESH</a></li>
+ <li class="private"><a href="#property_purging" title="purging">purging</a></li>
+ <li class="private"><a href="#property_qidx" title="qidx">qidx</a></li>
+ <li class="private"><a href="#property_queues" title="queues">queues</a></li>
+ </ul>
+ </div>
+
+ <div id="methodsList" class="module">
+ <h4>Methods</h4>
+ <ul class="content">
+ <li class="private"><a href="#method__autoPurge" title="_autoPurge">_autoPurge</a></li>
+ <li class="private"><a href="#method__end" title="_end">_end</a></li>
+ <li class="private"><a href="#method__finalize" title="_finalize">_finalize</a></li>
+ <li class="private"><a href="#method__finish" title="_finish">_finish</a></li>
+ <li class="private"><a href="#method__linkNode" title="_linkNode">_linkNode</a></li>
+ <li class="private"><a href="#method__next" title="_next">_next</a></li>
+ <li class="private"><a href="#method__node" title="_node">_node</a></li>
+ <li class="private"><a href="#method__purge" title="_purge">_purge</a></li>
+ <li class="private"><a href="#method__returnData" title="_returnData">_returnData</a></li>
+ <li class="private"><a href="#method__scriptNode" title="_scriptNode">_scriptNode</a></li>
+ <li class="private"><a href="#method__timeout" title="_timeout">_timeout</a></li>
+ <li class="private"><a href="#method__track" title="_track">_track</a></li>
+ <li class=""><a href="#method_abort" title="abort">abort</a></li>
+ <li class=""><a href="#method_css" title="css">css</a></li>
+ <li class="private"><a href="#method_queue" title="queue">queue</a></li>
+ <li class=""><a href="#method_script" title="script">script</a></li>
+ </ul>
+ </div>
+
+
+
+ </div>
+ </div>
+ </div>
+ <div id="ft">
+ <hr />
+ Copyright © 2009 Yahoo! Inc. All rights reserved.
+ </div>
+</div>
+<script type="text/javascript">
+ ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.html#method_()", "type": "method"}, {"access": "", "host": "Get", "name": "abort", "url": "Get.html#method_abort", "type": "method"}, {"access": "", "host": "YUI", "name": "add", "url": "YUI.html#method_add", "type": "method"}, {"access": "", "host": "YUI", "name": "after", "url": "YUI.html#method_after", "type": "method"}, {"access": "", "host": "YUI", "name": "applyTo", "url": "YUI.html#method_applyTo", "type": "method"}, {"access": "private", "host": "Get", "name": "_autoPurge", "url": "Get.html#method__autoPurge", "type": "method"}, {"access": "", "host": "YUI", "name": "available", "url": "YUI.html#event_available", "type": "event"}, {"access": "", "host": "config", "name": "base", "url": "config.html#property_base", "type": "property"}, {"access": "", "host": "YUI", "name": "blur", "url": "YUI.html#event_blur", "type": "event"}, {"access": "", "host": "config", "name": "bootstrap", "url": "config.html#property_bootstrap", "type": "property"}, {"access": "", "host": "YUI", "name": "cached", "url": "YUI.html#method_cached", "type": "method"}, {"access": "", "host": "config", "name": "charset", "url": "config.html#property_charset", "type": "property"}, {"access": "", "host": "config", "name": "combine", "url": "config.html#property_combine", "type": "property"}, {"access": "", "host": "config", "name": "comboBase", "url": "config.html#property_comboBase", "type": "property"}, {"access": "", "host": "YUI", "name": "contentready", "url": "YUI.html#event_contentready", "type": "event"}, {"access": "", "host": "config", "name": "core", "url": "config.html#property_core", "type": "property"}, {"access": "", "host": "Get", "name": "css", "url": "Get.html#method_css", "type": "method"}, {"access": "", "host": "config", "name": "cssAttributes", "url": "config.html#property_cssAttributes", "type": "property"}, {"access": "", "host": "config", "name": "dateFormat", "url": "config.html#property_dateFormat", "type": "property"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#method_delegate", "type": "method"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#event_delegate", "type": "event"}, {"access": "", "host": "config", "name": "doc", "url": "config.html#property_doc", "type": "property"}, {"access": "", "host": "Object", "name": "each", "url": "Object.html#method_each", "type": "method"}, {"access": "private", "host": "Get", "name": "_end", "url": "Get.html#method__end", "type": "method"}, {"access": "", "host": "YUI", "name": "error", "url": "YUI.html#method_error", "type": "method"}, {"access": "private", "host": "Object", "name": "_extract", "url": "Object.html#method__extract", "type": "method"}, {"access": "", "host": "config", "name": "fetchCSS", "url": "config.html#property_fetchCSS", "type": "property"}, {"access": "", "host": "config", "name": "filter", "url": "config.html#property_filter", "type": "property"}, {"access": "", "host": "config", "name": "filters", "url": "config.html#property_filters", "type": "property"}, {"access": "private", "host": "Get", "name": "_finalize", "url": "Get.html#method__finalize", "type": "method"}, {"access": "private", "host": "Get", "name": "_finish", "url": "Get.html#method__finish", "type": "method"}, {"access": "", "host": "YUI", "name": "focus", "url": "YUI.html#event_focus", "type": "event"}, {"access": "", "host": "config", "name": "force", "url": "config.html#property_force", "type": "property"}, {"access": "", "host": "Object", "name": "getValue", "url": "Object.html#method_getValue", "type": "method"}, {"access": "", "host": "YUI", "name": "Global", "url": "YUI.html#property_Global", "type": "property"}, {"access": "", "host": "YUI", "name": "guid", "url": "YUI.html#method_guid", "type": "method"}, {"access": "", "host": "Object", "name": "hasKey", "url": "Object.html#method_hasKey", "type": "method"}, {"access": "", "host": "Object", "name": "hasValue", "url": "Object.html#method_hasValue", "type": "method"}, {"access": "", "host": "config", "name": "ignore", "url": "config.html#property_ignore", "type": "property"}, {"access": "private", "host": "YUI", "name": "_init", "url": "YUI.html#method__init", "type": "method"}, {"access": "", "host": "config", "name": "injected", "url": "config.html#property_injected", "type": "property"}, {"access": "", "host": "config", "name": "insertBefore", "url": "config.html#property_insertBefore", "type": "property"}, {"access": "", "host": "config", "name": "jsAttributes", "url": "config.html#property_jsAttributes", "type": "property"}, {"access": "", "host": "YUI", "name": "key", "url": "YUI.html#event_key", "type": "event"}, {"access": "", "host": "Object", "name": "keys", "url": "Object.html#method_keys", "type": "method"}, {"access": "", "host": "YUI", "name": "later", "url": "YUI.html#method_later", "type": "method"}, {"access": "private", "host": "Get", "name": "_linkNode", "url": "Get.html#method__linkNode", "type": "method"}, {"access": "", "host": "config", "name": "loaderPath", "url": "config.html#property_loaderPath", "type": "property"}, {"access": "", "host": "config", "name": "locale", "url": "config.html#property_locale", "type": "property"}, {"access": "", "host": "YUI", "name": "log", "url": "YUI.html#method_log", "type": "method"}, {"access": "", "host": "config", "name": "logExclude", "url": "config.html#property_logExclude", "type": "property"}, {"access": "", "host": "config", "name": "logInclude", "url": "config.html#property_logInclude", "type": "property"}, {"access": "", "host": "YUI", "name": "merge", "url": "YUI.html#method_merge", "type": "method"}, {"access": "", "host": "YUI", "name": "message", "url": "YUI.html#method_message", "type": "method"}, {"access": "", "host": "YUI", "name": "mix", "url": "YUI.html#method_mix", "type": "method"}, {"access": "", "host": "config", "name": "modules", "url": "config.html#property_modules", "type": "property"}, {"access": "", "host": "YUI", "name": "mouseenter", "url": "YUI.html#event_mouseenter", "type": "event"}, {"access": "", "host": "YUI", "name": "mouseleave", "url": "YUI.html#event_mouseleave", "type": "event"}, {"access": "", "host": "YUI", "name": "mousewheel", "url": "YUI.html#event_mousewheel", "type": "event"}, {"access": "", "host": "YUI", "name": "namespace", "url": "YUI.html#method_namespace", "type": "method"}, {"access": "private", "host": "Get", "name": "_next", "url": "Get.html#method__next", "type": "method"}, {"access": "private", "host": "Get", "name": "_node", "url": "Get.html#method__node", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.plug", "url": "YUI.html#method_Node.plug", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.unplug", "url": "YUI.html#method_Node.unplug", "type": "method"}, {"access": "", "host": "YUI", "name": "on", "url": "YUI.html#method_on", "type": "method"}, {"access": "", "host": "config", "name": "onCSS", "url": "config.html#property_onCSS", "type": "property"}, {"access": "", "host": "Object", "name": "owns", "url": "Object.html#method_owns", "type": "method"}, {"access": "", "host": "config", "name": "pollInterval", "url": "config.html#property_pollInterval", "type": "property"}, {"access": "private", "host": "Get", "name": "_purge", "url": "Get.html#method__purge", "type": "method"}, {"access": "private", "host": "Get", "name": "PURGE_THRESH", "url": "Get.html#property_PURGE_THRESH", "type": "property"}, {"access": "", "host": "config", "name": "purgethreshold", "url": "config.html#property_purgethreshold", "type": "property"}, {"access": "private", "host": "Get", "name": "purging", "url": "Get.html#property_purging", "type": "property"}, {"access": "private", "host": "Get", "name": "qidx", "url": "Get.html#property_qidx", "type": "property"}, {"access": "private", "host": "Get", "name": "queue", "url": "Get.html#method_queue", "type": "method"}, {"access": "private", "host": "Get", "name": "queues", "url": "Get.html#property_queues", "type": "property"}, {"access": "private", "host": "Get", "name": "_returnData", "url": "Get.html#method__returnData", "type": "method"}, {"access": "", "host": "config", "name": "root", "url": "config.html#property_root", "type": "property"}, {"access": "", "host": "Get", "name": "script", "url": "Get.html#method_script", "type": "method"}, {"access": "private", "host": "Get", "name": "_scriptNode", "url": "Get.html#method__scriptNode", "type": "method"}, {"access": "", "host": "config", "name": "secureBase", "url": "config.html#property_secureBase", "type": "property"}, {"access": "private", "host": "YUI", "name": "_setup", "url": "YUI.html#method__setup", "type": "method"}, {"access": "", "host": "Object", "name": "setValue", "url": "Object.html#method_setValue", "type": "method"}, {"access": "", "host": "YUI", "name": "simulate", "url": "YUI.html#method_simulate", "type": "method"}, {"access": "", "host": "Object", "name": "size", "url": "Object.html#method_size", "type": "method"}, {"access": "", "host": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "type": "method"}, {"access": "", "host": "config", "name": "throwFail", "url": "config.html#property_throwFail", "type": "property"}, {"access": "", "host": "config", "name": "timeout", "url": "config.html#property_timeout", "type": "property"}, {"access": "private", "host": "Get", "name": "_timeout", "url": "Get.html#method__timeout", "type": "method"}, {"access": "private", "host": "Get", "name": "_track", "url": "Get.html#method__track", "type": "method"}, {"access": "", "host": "YUI", "name": "use", "url": "YUI.html#method_use", "type": "method"}, {"access": "", "host": "config", "name": "useBrowserConsole", "url": "config.html#property_useBrowserConsole", "type": "property"}, {"access": "", "host": "Object", "name": "values", "url": "Object.html#method_values", "type": "method"}, {"access": "", "host": "config", "name": "win", "url": "config.html#property_win", "type": "property"}, {"access": "", "host": "YUI", "name": "windowresize", "url": "YUI.html#event_windowresize", "type": "event"}, {"access": "", "host": "config", "name": "windowResizeDelay", "url": "config.html#property_windowResizeDelay", "type": "property"}];
+</script>
+</body>
+</html>