|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: yui yui-lang.js (YUI Library)</title> |
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
|
12 |
</head> |
|
|
13 |
|
|
|
14 |
<body id="yahoo-com"> |
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2"> |
|
|
17 |
<div id="hd"> |
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
|
19 |
<h3>yui <span class="subtitle">3.0.0</span></h3> |
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
|
21 |
> <a href="./module_yui.html" title="yui">yui</a> |
|
|
22 |
|
|
|
23 |
> yui-lang.js (source view) |
|
|
24 |
<form onsubmit="return false"> |
|
|
25 |
<div id="propertysearch"> |
|
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
|
27 |
<div id="searchresults"> |
|
|
28 |
|
|
|
29 |
</div> |
|
|
30 |
</div> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
|
|
|
34 |
<div id="bd"> |
|
|
35 |
<div id="yui-main"> |
|
|
36 |
<div class="yui-b"> |
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
|
38 |
<fieldset> |
|
|
39 |
<legend>Filters</legend> |
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
|
43 |
</fieldset> |
|
|
44 |
</form> |
|
|
45 |
|
|
|
46 |
<div id="srcout"> |
|
|
47 |
<style> |
|
|
48 |
#doc3 .classopts { display:none; } |
|
|
49 |
</style> |
|
|
50 |
<div class="highlight" ><pre><span class="c">/**</span> |
|
|
51 |
<span class="c"> * The YUI module contains the components required for building the YUI seed file.</span> |
|
|
52 |
<span class="c"> * This includes the script loading mechanism, a simple queue, and the core utilities for the library.</span> |
|
|
53 |
<span class="c"> * @module yui</span> |
|
|
54 |
<span class="c"> * @submodule yui-base</span> |
|
|
55 |
<span class="c"> */</span> |
|
|
56 |
<span class="o">(</span><span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
|
57 |
<span class="c">/**</span> |
|
|
58 |
<span class="c"> * Provides the language utilites and extensions used by the library</span> |
|
|
59 |
<span class="c"> * @class Lang</span> |
|
|
60 |
<span class="c"> * @static</span> |
|
|
61 |
<span class="c"> */</span> |
|
|
62 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span> <span class="o">||</span> <span class="o">{};</span> |
|
|
63 |
|
|
|
64 |
<span class="k">var</span> <span class="nx">L</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span><span class="o">,</span> |
|
|
65 |
|
|
|
66 |
<span class="nx">ARRAY</span> <span class="o">=</span> <span class="s1">'array'</span><span class="o">,</span> |
|
|
67 |
<span class="nx">BOOLEAN</span> <span class="o">=</span> <span class="s1">'boolean'</span><span class="o">,</span> |
|
|
68 |
<span class="nx">DATE</span> <span class="o">=</span> <span class="s1">'date'</span><span class="o">,</span> |
|
|
69 |
<span class="nx">ERROR</span> <span class="o">=</span> <span class="s1">'error'</span><span class="o">,</span> |
|
|
70 |
<span class="nx">FUNCTION</span> <span class="o">=</span> <span class="s1">'function'</span><span class="o">,</span> |
|
|
71 |
<span class="nx">NUMBER</span> <span class="o">=</span> <span class="s1">'number'</span><span class="o">,</span> |
|
|
72 |
<span class="nx">NULL</span> <span class="o">=</span> <span class="s1">'null'</span><span class="o">,</span> |
|
|
73 |
<span class="nx">OBJECT</span> <span class="o">=</span> <span class="s1">'object'</span><span class="o">,</span> |
|
|
74 |
<span class="nx">REGEX</span> <span class="o">=</span> <span class="s1">'regexp'</span><span class="o">,</span> |
|
|
75 |
<span class="nx">STRING</span> <span class="o">=</span> <span class="s1">'string'</span><span class="o">,</span> |
|
|
76 |
<span class="nx">TOSTRING</span> <span class="o">=</span> <span class="nb">Object</span><span class="o">.</span><span class="nx">prototype</span><span class="o">.</span><span class="nx">toString</span><span class="o">,</span> |
|
|
77 |
<span class="nx">UNDEFINED</span> <span class="o">=</span> <span class="s1">'undefined'</span><span class="o">,</span> |
|
|
78 |
|
|
|
79 |
<span class="nx">TYPES</span> <span class="o">=</span> <span class="o">{</span> |
|
|
80 |
<span class="s1">'undefined'</span> <span class="o">:</span> <span class="nx">UNDEFINED</span><span class="o">,</span> |
|
|
81 |
<span class="s1">'number'</span> <span class="o">:</span> <span class="nx">NUMBER</span><span class="o">,</span> |
|
|
82 |
<span class="s1">'boolean'</span> <span class="o">:</span> <span class="nx">BOOLEAN</span><span class="o">,</span> |
|
|
83 |
<span class="s1">'string'</span> <span class="o">:</span> <span class="nx">STRING</span><span class="o">,</span> |
|
|
84 |
<span class="s1">'[object Function]'</span> <span class="o">:</span> <span class="nx">FUNCTION</span><span class="o">,</span> |
|
|
85 |
<span class="s1">'[object RegExp]'</span> <span class="o">:</span> <span class="nx">REGEX</span><span class="o">,</span> |
|
|
86 |
<span class="s1">'[object Array]'</span> <span class="o">:</span> <span class="nx">ARRAY</span><span class="o">,</span> |
|
|
87 |
<span class="s1">'[object Date]'</span> <span class="o">:</span> <span class="nx">DATE</span><span class="o">,</span> |
|
|
88 |
<span class="s1">'[object Error]'</span> <span class="o">:</span> <span class="nx">ERROR</span> |
|
|
89 |
<span class="o">},</span> |
|
|
90 |
|
|
|
91 |
<span class="nx">TRIMREGEX</span> <span class="o">=</span> <span class="sr">/^\s+|\s+$/g</span><span class="o">,</span> |
|
|
92 |
<span class="nx">EMPTYSTRING</span> <span class="o">=</span> <span class="s1">''</span><span class="o">;</span> |
|
|
93 |
|
|
|
94 |
<span class="c">/**</span> |
|
|
95 |
<span class="c"> * Determines whether or not the provided item is an array.</span> |
|
|
96 |
<span class="c"> * Returns false for array-like collections such as the</span> |
|
|
97 |
<span class="c"> * function arguments collection or HTMLElement collection</span> |
|
|
98 |
<span class="c"> * will return false. You can use @see Array.test if you </span> |
|
|
99 |
<span class="c"> * want to</span> |
|
|
100 |
<span class="c"> * @method isArray</span> |
|
|
101 |
<span class="c"> * @static</span> |
|
|
102 |
<span class="c"> * @param o The object to test</span> |
|
|
103 |
<span class="c"> * @return {boolean} true if o is an array</span> |
|
|
104 |
<span class="c"> */</span> |
|
|
105 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isArray</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
106 |
<span class="k">return</span> <span class="nx">L</span><span class="o">.</span><span class="nx">type</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">===</span> <span class="nx">ARRAY</span><span class="o">;</span> |
|
|
107 |
<span class="o">};</span> |
|
|
108 |
|
|
|
109 |
<span class="c">/**</span> |
|
|
110 |
<span class="c"> * Determines whether or not the provided item is a boolean</span> |
|
|
111 |
<span class="c"> * @method isBoolean</span> |
|
|
112 |
<span class="c"> * @static</span> |
|
|
113 |
<span class="c"> * @param o The object to test</span> |
|
|
114 |
<span class="c"> * @return {boolean} true if o is a boolean</span> |
|
|
115 |
<span class="c"> */</span> |
|
|
116 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isBoolean</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
117 |
<span class="k">return</span> <span class="k">typeof</span> <span class="nx">o</span> <span class="o">===</span> <span class="nx">BOOLEAN</span><span class="o">;</span> |
|
|
118 |
<span class="o">};</span> |
|
|
119 |
|
|
|
120 |
<span class="c">/**</span> |
|
|
121 |
<span class="c"> * Determines whether or not the provided item is a function</span> |
|
|
122 |
<span class="c"> * Note: Internet Explorer thinks certain functions are objects:</span> |
|
|
123 |
<span class="c"> *</span> |
|
|
124 |
<span class="c"> * var obj = document.createElement("object");</span> |
|
|
125 |
<span class="c"> * Y.Lang.isFunction(obj.getAttribute) // reports false in IE</span> |
|
|
126 |
<span class="c"> *</span> |
|
|
127 |
<span class="c"> * var input = document.createElement("input"); // append to body</span> |
|
|
128 |
<span class="c"> * Y.Lang.isFunction(input.focus) // reports false in IE</span> |
|
|
129 |
<span class="c"> *</span> |
|
|
130 |
<span class="c"> * You will have to implement additional tests if these functions</span> |
|
|
131 |
<span class="c"> * matter to you.</span> |
|
|
132 |
<span class="c"> *</span> |
|
|
133 |
<span class="c"> * @method isFunction</span> |
|
|
134 |
<span class="c"> * @static</span> |
|
|
135 |
<span class="c"> * @param o The object to test</span> |
|
|
136 |
<span class="c"> * @return {boolean} true if o is a function</span> |
|
|
137 |
<span class="c"> */</span> |
|
|
138 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isFunction</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
139 |
<span class="k">return</span> <span class="nx">L</span><span class="o">.</span><span class="nx">type</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">===</span> <span class="nx">FUNCTION</span><span class="o">;</span> |
|
|
140 |
<span class="o">};</span> |
|
|
141 |
|
|
|
142 |
<span class="c">/**</span> |
|
|
143 |
<span class="c"> * Determines whether or not the supplied item is a date instance</span> |
|
|
144 |
<span class="c"> * @method isDate</span> |
|
|
145 |
<span class="c"> * @static</span> |
|
|
146 |
<span class="c"> * @param o The object to test</span> |
|
|
147 |
<span class="c"> * @return {boolean} true if o is a date</span> |
|
|
148 |
<span class="c"> */</span> |
|
|
149 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isDate</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
150 |
<span class="c">// return o instanceof Date;</span> |
|
|
151 |
<span class="c"></span> <span class="k">return</span> <span class="nx">L</span><span class="o">.</span><span class="nx">type</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">===</span> <span class="nx">DATE</span><span class="o">;</span> |
|
|
152 |
<span class="o">};</span> |
|
|
153 |
|
|
|
154 |
<span class="c">/**</span> |
|
|
155 |
<span class="c"> * Determines whether or not the provided item is null</span> |
|
|
156 |
<span class="c"> * @method isNull</span> |
|
|
157 |
<span class="c"> * @static</span> |
|
|
158 |
<span class="c"> * @param o The object to test</span> |
|
|
159 |
<span class="c"> * @return {boolean} true if o is null</span> |
|
|
160 |
<span class="c"> */</span> |
|
|
161 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isNull</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
162 |
<span class="k">return</span> <span class="nx">o</span> <span class="o">===</span> <span class="kc">null</span><span class="o">;</span> |
|
|
163 |
<span class="o">};</span> |
|
|
164 |
|
|
|
165 |
<span class="c">/**</span> |
|
|
166 |
<span class="c"> * Determines whether or not the provided item is a legal number</span> |
|
|
167 |
<span class="c"> * @method isNumber</span> |
|
|
168 |
<span class="c"> * @static</span> |
|
|
169 |
<span class="c"> * @param o The object to test</span> |
|
|
170 |
<span class="c"> * @return {boolean} true if o is a number</span> |
|
|
171 |
<span class="c"> */</span> |
|
|
172 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isNumber</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
173 |
<span class="k">return</span> <span class="k">typeof</span> <span class="nx">o</span> <span class="o">===</span> <span class="nx">NUMBER</span> <span class="o">&&</span> <span class="nb">isFinite</span><span class="o">(</span><span class="nx">o</span><span class="o">);</span> |
|
|
174 |
<span class="o">};</span> |
|
|
175 |
|
|
|
176 |
<span class="c">/**</span> |
|
|
177 |
<span class="c"> * Determines whether or not the provided item is of type object</span> |
|
|
178 |
<span class="c"> * or function</span> |
|
|
179 |
<span class="c"> * @method isObject</span> |
|
|
180 |
<span class="c"> * @static</span> |
|
|
181 |
<span class="c"> * @param o The object to test</span> |
|
|
182 |
<span class="c"> * @param failfn {boolean} fail if the input is a function</span> |
|
|
183 |
<span class="c"> * @return {boolean} true if o is an object</span> |
|
|
184 |
<span class="c"> */</span> |
|
|
185 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isObject</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">,</span> <span class="nx">failfn</span><span class="o">)</span> <span class="o">{</span> |
|
|
186 |
<span class="k">return</span> <span class="o">(</span><span class="nx">o</span> <span class="o">&&</span> <span class="o">(</span><span class="k">typeof</span> <span class="nx">o</span> <span class="o">===</span> <span class="nx">OBJECT</span> <span class="o">||</span> <span class="o">(!</span><span class="nx">failfn</span> <span class="o">&&</span> <span class="nx">L</span><span class="o">.</span><span class="nx">isFunction</span><span class="o">(</span><span class="nx">o</span><span class="o">))))</span> <span class="o">||</span> <span class="kc">false</span><span class="o">;</span> |
|
|
187 |
<span class="o">};</span> |
|
|
188 |
|
|
|
189 |
<span class="c">/**</span> |
|
|
190 |
<span class="c"> * Determines whether or not the provided item is a string</span> |
|
|
191 |
<span class="c"> * @method isString</span> |
|
|
192 |
<span class="c"> * @static</span> |
|
|
193 |
<span class="c"> * @param o The object to test</span> |
|
|
194 |
<span class="c"> * @return {boolean} true if o is a string</span> |
|
|
195 |
<span class="c"> */</span> |
|
|
196 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isString</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
197 |
<span class="k">return</span> <span class="k">typeof</span> <span class="nx">o</span> <span class="o">===</span> <span class="nx">STRING</span><span class="o">;</span> |
|
|
198 |
<span class="o">};</span> |
|
|
199 |
|
|
|
200 |
<span class="c">/**</span> |
|
|
201 |
<span class="c"> * Determines whether or not the provided item is undefined</span> |
|
|
202 |
<span class="c"> * @method isUndefined</span> |
|
|
203 |
<span class="c"> * @static</span> |
|
|
204 |
<span class="c"> * @param o The object to test</span> |
|
|
205 |
<span class="c"> * @return {boolean} true if o is undefined</span> |
|
|
206 |
<span class="c"> */</span> |
|
|
207 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isUndefined</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
208 |
<span class="k">return</span> <span class="k">typeof</span> <span class="nx">o</span> <span class="o">===</span> <span class="nx">UNDEFINED</span><span class="o">;</span> |
|
|
209 |
<span class="o">};</span> |
|
|
210 |
|
|
|
211 |
<span class="c">/**</span> |
|
|
212 |
<span class="c"> * Returns a string without any leading or trailing whitespace. If </span> |
|
|
213 |
<span class="c"> * the input is not a string, the input will be returned untouched.</span> |
|
|
214 |
<span class="c"> * @method trim</span> |
|
|
215 |
<span class="c"> * @static</span> |
|
|
216 |
<span class="c"> * @param s {string} the string to trim</span> |
|
|
217 |
<span class="c"> * @return {string} the trimmed string</span> |
|
|
218 |
<span class="c"> */</span> |
|
|
219 |
<span class="nx">L</span><span class="o">.</span><span class="nx">trim</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">s</span><span class="o">){</span> |
|
|
220 |
<span class="k">try</span> <span class="o">{</span> |
|
|
221 |
<span class="k">return</span> <span class="nx">s</span><span class="o">.</span><span class="nx">replace</span><span class="o">(</span><span class="nx">TRIMREGEX</span><span class="o">,</span> <span class="nx">EMPTYSTRING</span><span class="o">);</span> |
|
|
222 |
<span class="o">}</span> <span class="k">catch</span><span class="o">(</span><span class="nx">e</span><span class="o">)</span> <span class="o">{</span> |
|
|
223 |
<span class="k">return</span> <span class="nx">s</span><span class="o">;</span> |
|
|
224 |
<span class="o">}</span> |
|
|
225 |
<span class="o">};</span> |
|
|
226 |
|
|
|
227 |
<span class="c">/**</span> |
|
|
228 |
<span class="c"> * A convenience method for detecting a legitimate non-null value.</span> |
|
|
229 |
<span class="c"> * Returns false for null/undefined/NaN, true for other values, </span> |
|
|
230 |
<span class="c"> * including 0/false/''</span> |
|
|
231 |
<span class="c"> * @method isValue</span> |
|
|
232 |
<span class="c"> * @static</span> |
|
|
233 |
<span class="c"> * @param o The item to test</span> |
|
|
234 |
<span class="c"> * @return {boolean} true if it is not null/undefined/NaN || false</span> |
|
|
235 |
<span class="c"> */</span> |
|
|
236 |
<span class="nx">L</span><span class="o">.</span><span class="nx">isValue</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
237 |
<span class="k">var</span> <span class="nx">t</span> <span class="o">=</span> <span class="nx">L</span><span class="o">.</span><span class="nx">type</span><span class="o">(</span><span class="nx">o</span><span class="o">);</span> |
|
|
238 |
<span class="nx">switch</span> <span class="o">(</span><span class="nx">t</span><span class="o">)</span> <span class="o">{</span> |
|
|
239 |
<span class="nx">case</span> <span class="nx">NUMBER</span><span class="o">:</span> |
|
|
240 |
<span class="k">return</span> <span class="nb">isFinite</span><span class="o">(</span><span class="nx">o</span><span class="o">);</span> |
|
|
241 |
<span class="nx">case</span> <span class="nx">NULL</span><span class="o">:</span> |
|
|
242 |
<span class="nx">case</span> <span class="nx">UNDEFINED</span><span class="o">:</span> |
|
|
243 |
<span class="k">return</span> <span class="kc">false</span><span class="o">;</span> |
|
|
244 |
<span class="nx">default</span><span class="o">:</span> |
|
|
245 |
<span class="k">return</span> <span class="o">!!(</span><span class="nx">t</span><span class="o">);</span> |
|
|
246 |
<span class="o">}</span> |
|
|
247 |
<span class="o">};</span> |
|
|
248 |
|
|
|
249 |
<span class="c">/**</span> |
|
|
250 |
<span class="c"> * Returns a string representing the type of the item passed in.</span> |
|
|
251 |
<span class="c"> * @method type</span> |
|
|
252 |
<span class="c"> * @param o the item to test</span> |
|
|
253 |
<span class="c"> * @return {string} the detected type</span> |
|
|
254 |
<span class="c"> */</span> |
|
|
255 |
<span class="nx">L</span><span class="o">.</span><span class="nx">type</span> <span class="o">=</span> <span class="k">function</span> <span class="o">(</span><span class="nx">o</span><span class="o">)</span> <span class="o">{</span> |
|
|
256 |
<span class="k">return</span> <span class="nx">TYPES</span><span class="o">[</span><span class="k">typeof</span> <span class="nx">o</span><span class="o">]</span> <span class="o">||</span> <span class="nx">TYPES</span><span class="o">[</span><span class="nx">TOSTRING</span><span class="o">.</span><span class="nx">call</span><span class="o">(</span><span class="nx">o</span><span class="o">)]</span> <span class="o">||</span> <span class="o">(</span><span class="nx">o</span> <span class="o">?</span> <span class="nx">OBJECT</span> <span class="o">:</span> <span class="nx">NULL</span><span class="o">);</span> |
|
|
257 |
<span class="o">};</span> |
|
|
258 |
|
|
|
259 |
<span class="o">})();</span> |
|
|
260 |
</pre></div> |
|
|
261 |
|
|
|
262 |
</div> |
|
|
263 |
</div> |
|
|
264 |
</div> |
|
|
265 |
<div class="yui-b"> |
|
|
266 |
<div class="nav"> |
|
|
267 |
|
|
|
268 |
<div id="moduleList" class="module"> |
|
|
269 |
<h4>Modules</h4> |
|
|
270 |
<ul class="content"> |
|
|
271 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
272 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
273 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
274 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
275 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
276 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
277 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
278 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
279 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
280 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
281 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
282 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
283 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
284 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
285 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
286 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
287 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
288 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
289 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
290 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
291 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
292 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
293 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
294 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
295 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
296 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
297 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
298 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
299 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
300 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
301 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
302 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
303 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
304 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
305 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
306 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
307 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
308 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
309 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
310 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
311 |
<li class="selected"><a href="module_yui.html" title="yui">yui</a></li> |
|
|
312 |
</ul> |
|
|
313 |
</div> |
|
|
314 |
|
|
|
315 |
<div id="classList" class="module"> |
|
|
316 |
<h4>Classes</h4> |
|
|
317 |
<ul class="content"> |
|
|
318 |
<li class=""><a href="Array.html" title="Array">Array</a></li> |
|
|
319 |
<li class=""><a href="config.html" title="config">config</a></li> |
|
|
320 |
<li class=""><a href="Get.html" title="Get">Get</a></li> |
|
|
321 |
<li class=""><a href="Lang.html" title="Lang">Lang</a></li> |
|
|
322 |
<li class=""><a href="Object.html" title="Object">Object</a></li> |
|
|
323 |
<li class=""><a href="Queue.html" title="Queue">Queue</a></li> |
|
|
324 |
<li class=""><a href="UA.html" title="UA">UA</a></li> |
|
|
325 |
<li class=""><a href="YUI.html" title="YUI">YUI</a></li> |
|
|
326 |
</ul> |
|
|
327 |
</div> |
|
|
328 |
|
|
|
329 |
<div id="fileList" class="module"> |
|
|
330 |
<h4>Files</h4> |
|
|
331 |
<ul class="content"> |
|
|
332 |
<li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li> |
|
|
333 |
<li class=""><a href="get.js.html" title="get.js">get.js</a></li> |
|
|
334 |
<li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li> |
|
|
335 |
<li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li> |
|
|
336 |
<li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li> |
|
|
337 |
<li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li> |
|
|
338 |
<li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li> |
|
|
339 |
<li class="selected"><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li> |
|
|
340 |
<li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li> |
|
|
341 |
<li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li> |
|
|
342 |
<li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li> |
|
|
343 |
<li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li> |
|
|
344 |
<li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li> |
|
|
345 |
</ul> |
|
|
346 |
</div> |
|
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
|
|
|
352 |
</div> |
|
|
353 |
</div> |
|
|
354 |
</div> |
|
|
355 |
<div id="ft"> |
|
|
356 |
<hr /> |
|
|
357 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
358 |
</div> |
|
|
359 |
</div> |
|
|
360 |
<script type="text/javascript"> |
|
|
361 |
ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.html#method_()", "type": "method"}, {"access": "", "host": "Array", "name": "()", "url": "Array.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": "Queue", "name": "add", "url": "Queue.html#method_add", "type": "method"}, {"access": "", "host": "YUI", "name": "after", "url": "YUI.html#method_after", "type": "method"}, {"access": "", "host": "UA", "name": "air", "url": "UA.html#property_air", "type": "property"}, {"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": "UA", "name": "caja", "url": "UA.html#property_caja", "type": "property"}, {"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": "", "host": "Array", "name": "each", "url": "Array.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": "UA", "name": "gecko", "url": "UA.html#property_gecko", "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": "Array", "name": "hash", "url": "Array.html#method_hash", "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": "UA", "name": "ie", "url": "UA.html#property_ie", "type": "property"}, {"access": "", "host": "config", "name": "ignore", "url": "config.html#property_ignore", "type": "property"}, {"access": "", "host": "Array", "name": "indexOf", "url": "Array.html#method_indexOf", "type": "method"}, {"access": "", "host": "Queue", "name": "indexOf", "url": "Queue.html#method_indexOf", "type": "method"}, {"access": "private", "host": "YUI", "name": "_init", "url": "YUI.html#method__init", "type": "method"}, {"access": "protected", "host": "Queue", "name": "_init", "url": "Queue.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": "Lang", "name": "isArray", "url": "Lang.html#method_isArray", "type": "method"}, {"access": "", "host": "Lang", "name": "isBoolean", "url": "Lang.html#method_isBoolean", "type": "method"}, {"access": "", "host": "Lang", "name": "isDate", "url": "Lang.html#method_isDate", "type": "method"}, {"access": "", "host": "Lang", "name": "isFunction", "url": "Lang.html#method_isFunction", "type": "method"}, {"access": "", "host": "Lang", "name": "isNull", "url": "Lang.html#method_isNull", "type": "method"}, {"access": "", "host": "Lang", "name": "isNumber", "url": "Lang.html#method_isNumber", "type": "method"}, {"access": "", "host": "Lang", "name": "isObject", "url": "Lang.html#method_isObject", "type": "method"}, {"access": "", "host": "Lang", "name": "isString", "url": "Lang.html#method_isString", "type": "method"}, {"access": "", "host": "Lang", "name": "isUndefined", "url": "Lang.html#method_isUndefined", "type": "method"}, {"access": "", "host": "Lang", "name": "isValue", "url": "Lang.html#method_isValue", "type": "method"}, {"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": "UA", "name": "mobile", "url": "UA.html#property_mobile", "type": "property"}, {"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": "", "host": "Queue", "name": "next", "url": "Queue.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": "Array", "name": "numericSort", "url": "Array.html#method_numericSort", "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": "UA", "name": "opera", "url": "UA.html#property_opera", "type": "property"}, {"access": "", "host": "UA", "name": "os", "url": "UA.html#property_os", "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": "", "host": "Queue", "name": "promote", "url": "Queue.html#method_promote", "type": "method"}, {"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": "protected", "host": "Queue", "name": "_q", "url": "Queue.html#property__q", "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": "", "host": "Queue", "name": "remove", "url": "Queue.html#method_remove", "type": "method"}, {"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": "UA", "name": "secure", "url": "UA.html#property_secure", "type": "property"}, {"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": "Queue", "name": "size", "url": "Queue.html#method_size", "type": "method"}, {"access": "", "host": "Array", "name": "some", "url": "Array.html#method_some", "type": "method"}, {"access": "", "host": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "type": "method"}, {"access": "", "host": "Array", "name": "test", "url": "Array.html#method_test", "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": "Lang", "name": "trim", "url": "Lang.html#method_trim", "type": "method"}, {"access": "", "host": "Lang", "name": "type", "url": "Lang.html#method_type", "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": "UA", "name": "webkit", "url": "UA.html#property_webkit", "type": "property"}, {"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"}]; |
|
|
362 |
</script> |
|
|
363 |
</body> |
|
|
364 |
</html> |