| changeset 0 | 40c8f766c9b8 |
| -1:000000000000 | 0:40c8f766c9b8 |
|---|---|
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-ua.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-ua.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 |
|
57 <span class="c">/**</span> |
|
58 <span class="c"> * YUI user agent detection.</span> |
|
59 <span class="c"> * Do not fork for a browser if it can be avoided. Use feature detection when</span> |
|
60 <span class="c"> * you can. Use the user agent as a last resort. UA stores a version</span> |
|
61 <span class="c"> * number for the browser engine, 0 otherwise. This value may or may not map</span> |
|
62 <span class="c"> * to the version number of the browser using the engine. The value is </span> |
|
63 <span class="c"> * presented as a float so that it can easily be used for boolean evaluation </span> |
|
64 <span class="c"> * as well as for looking for a particular range of versions. Because of this, </span> |
|
65 <span class="c"> * some of the granularity of the version info may be lost (e.g., Gecko 1.8.0.9 </span> |
|
66 <span class="c"> * reports 1.8).</span> |
|
67 <span class="c"> * @class UA</span> |
|
68 <span class="c"> * @static</span> |
|
69 <span class="c"> */</span> |
|
70 <span class="nx">Y</span><span class="o">.</span><span class="nx">UA</span> <span class="o">=</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
71 |
|
72 <span class="k">var</span> <span class="nx">numberfy</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">s</span><span class="o">)</span> <span class="o">{</span> |
|
73 <span class="k">var</span> <span class="nx">c</span> <span class="o">=</span> <span class="m">0</span><span class="o">;</span> |
|
74 <span class="k">return</span> <span class="nb">parseFloat</span><span class="o">(</span><span class="nx">s</span><span class="o">.</span><span class="nx">replace</span><span class="o">(</span><span class="sr">/\./g</span><span class="o">,</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
75 <span class="k">return</span> <span class="o">(</span><span class="nx">c</span><span class="o">++</span> <span class="o">==</span> <span class="m">1</span><span class="o">)</span> <span class="o">?</span> <span class="s1">''</span> <span class="o">:</span> <span class="s1">'.'</span><span class="o">;</span> |
|
76 <span class="o">}));</span> |
|
77 <span class="o">},</span> |
|
78 |
|
79 <span class="nx">nav</span> <span class="o">=</span> <span class="nx">navigator</span><span class="o">,</span> |
|
80 |
|
81 <span class="nx">o</span> <span class="o">=</span> <span class="o">{</span> |
|
82 |
|
83 <span class="c">/**</span> |
|
84 <span class="c"> * Internet Explorer version number or 0. Example: 6</span> |
|
85 <span class="c"> * @property ie</span> |
|
86 <span class="c"> * @type float</span> |
|
87 <span class="c"> * @static</span> |
|
88 <span class="c"> */</span> |
|
89 <span class="nx">ie</span><span class="o">:</span> <span class="m">0</span><span class="o">,</span> |
|
90 |
|
91 <span class="c">/**</span> |
|
92 <span class="c"> * Opera version number or 0. Example: 9.2</span> |
|
93 <span class="c"> * @property opera</span> |
|
94 <span class="c"> * @type float</span> |
|
95 <span class="c"> * @static</span> |
|
96 <span class="c"> */</span> |
|
97 <span class="nx">opera</span><span class="o">:</span> <span class="m">0</span><span class="o">,</span> |
|
98 |
|
99 <span class="c">/**</span> |
|
100 <span class="c"> * Gecko engine revision number. Will evaluate to 1 if Gecko </span> |
|
101 <span class="c"> * is detected but the revision could not be found. Other browsers</span> |
|
102 <span class="c"> * will be 0. Example: 1.8</span> |
|
103 <span class="c"> * <pre></span> |
|
104 <span class="c"> * Firefox 1.0.0.4: 1.7.8 <-- Reports 1.7</span> |
|
105 <span class="c"> * Firefox 1.5.0.9: 1.8.0.9 <-- Reports 1.8</span> |
|
106 <span class="c"> * Firefox 2.0.0.3: 1.8.1.3 <-- Reports 1.8</span> |
|
107 <span class="c"> * Firefox 3 alpha: 1.9a4 <-- Reports 1.9</span> |
|
108 <span class="c"> * </pre></span> |
|
109 <span class="c"> * @property gecko</span> |
|
110 <span class="c"> * @type float</span> |
|
111 <span class="c"> * @static</span> |
|
112 <span class="c"> */</span> |
|
113 <span class="nx">gecko</span><span class="o">:</span> <span class="m">0</span><span class="o">,</span> |
|
114 |
|
115 <span class="c">/**</span> |
|
116 <span class="c"> * AppleWebKit version. KHTML browsers that are not WebKit browsers </span> |
|
117 <span class="c"> * will evaluate to 1, other browsers 0. Example: 418.9</span> |
|
118 <span class="c"> * <pre></span> |
|
119 <span class="c"> * Safari 1.3.2 (312.6): 312.8.1 <-- Reports 312.8 -- currently the </span> |
|
120 <span class="c"> * latest available for Mac OSX 10.3.</span> |
|
121 <span class="c"> * Safari 2.0.2: 416 <-- hasOwnProperty introduced</span> |
|
122 <span class="c"> * Safari 2.0.4: 418 <-- preventDefault fixed</span> |
|
123 <span class="c"> * Safari 2.0.4 (419.3): 418.9.1 <-- One version of Safari may run</span> |
|
124 <span class="c"> * different versions of webkit</span> |
|
125 <span class="c"> * Safari 2.0.4 (419.3): 419 <-- Tiger installations that have been</span> |
|
126 <span class="c"> * updated, but not updated</span> |
|
127 <span class="c"> * to the latest patch.</span> |
|
128 <span class="c"> * Webkit 212 nightly: 522+ <-- Safari 3.0 precursor (with native SVG</span> |
|
129 <span class="c"> * and many major issues fixed).</span> |
|
130 <span class="c"> * Safari 3.0.4 (523.12) 523.12 <-- First Tiger release - automatic update</span> |
|
131 <span class="c"> * from 2.x via the 10.4.11 OS patch</span> |
|
132 <span class="c"> * Webkit nightly 1/2008:525+ <-- Supports DOMContentLoaded event.</span> |
|
133 <span class="c"> * yahoo.com user agent hack removed.</span> |
|
134 <span class="c"> * </pre></span> |
|
135 <span class="c"> * http://en.wikipedia.org/wiki/Safari_(web_browser)#Version_history</span> |
|
136 <span class="c"> * @property webkit</span> |
|
137 <span class="c"> * @type float</span> |
|
138 <span class="c"> * @static</span> |
|
139 <span class="c"> */</span> |
|
140 <span class="nx">webkit</span><span class="o">:</span> <span class="m">0</span><span class="o">,</span> |
|
141 |
|
142 <span class="c">/**</span> |
|
143 <span class="c"> * The mobile property will be set to a string containing any relevant</span> |
|
144 <span class="c"> * user agent information when a modern mobile browser is detected.</span> |
|
145 <span class="c"> * Currently limited to Safari on the iPhone/iPod Touch, Nokia N-series</span> |
|
146 <span class="c"> * devices with the WebKit-based browser, and Opera Mini. </span> |
|
147 <span class="c"> * @property mobile </span> |
|
148 <span class="c"> * @type string</span> |
|
149 <span class="c"> * @static</span> |
|
150 <span class="c"> */</span> |
|
151 <span class="nx">mobile</span><span class="o">:</span> <span class="kc">null</span><span class="o">,</span> |
|
152 |
|
153 <span class="c">/**</span> |
|
154 <span class="c"> * Adobe AIR version number or 0. Only populated if webkit is detected.</span> |
|
155 <span class="c"> * Example: 1.0</span> |
|
156 <span class="c"> * @property air</span> |
|
157 <span class="c"> * @type float</span> |
|
158 <span class="c"> */</span> |
|
159 <span class="nx">air</span><span class="o">:</span> <span class="m">0</span><span class="o">,</span> |
|
160 |
|
161 <span class="c">/**</span> |
|
162 <span class="c"> * Google Caja version number or 0.</span> |
|
163 <span class="c"> * @property caja</span> |
|
164 <span class="c"> * @type float</span> |
|
165 <span class="c"> */</span> |
|
166 <span class="nx">caja</span><span class="o">:</span> <span class="nx">nav</span><span class="o">.</span><span class="nx">cajaVersion</span><span class="o">,</span> |
|
167 |
|
168 <span class="c">/**</span> |
|
169 <span class="c"> * Set to true if the page appears to be in SSL</span> |
|
170 <span class="c"> * @property secure</span> |
|
171 <span class="c"> * @type boolean</span> |
|
172 <span class="c"> * @static</span> |
|
173 <span class="c"> */</span> |
|
174 <span class="nx">secure</span><span class="o">:</span> <span class="kc">false</span><span class="o">,</span> |
|
175 |
|
176 <span class="c">/**</span> |
|
177 <span class="c"> * The operating system. Currently only detecting windows or macintosh</span> |
|
178 <span class="c"> * @property os</span> |
|
179 <span class="c"> * @type string</span> |
|
180 <span class="c"> * @static</span> |
|
181 <span class="c"> */</span> |
|
182 <span class="nx">os</span><span class="o">:</span> <span class="kc">null</span> |
|
183 |
|
184 <span class="o">},</span> |
|
185 |
|
186 <span class="nx">ua</span> <span class="o">=</span> <span class="nx">nav</span> <span class="o">&&</span> <span class="nx">nav</span><span class="o">.</span><span class="nx">userAgent</span><span class="o">,</span> |
|
187 |
|
188 <span class="nx">loc</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">config</span><span class="o">.</span><span class="nx">win</span><span class="o">.</span><span class="nx">location</span><span class="o">,</span> |
|
189 |
|
190 <span class="nx">href</span> <span class="o">=</span> <span class="nx">loc</span> <span class="o">&&</span> <span class="nx">loc</span><span class="o">.</span><span class="nx">href</span><span class="o">,</span> |
|
191 |
|
192 <span class="nx">m</span><span class="o">;</span> |
|
193 |
|
194 <span class="nx">o</span><span class="o">.</span><span class="nx">secure</span> <span class="o">=</span> <span class="nx">href</span> <span class="o">&&</span> <span class="o">(</span><span class="nx">href</span><span class="o">.</span><span class="nx">toLowerCase</span><span class="o">().</span><span class="nx">indexOf</span><span class="o">(</span><span class="s2">"https"</span><span class="o">)</span> <span class="o">===</span> <span class="m">0</span><span class="o">);</span> |
|
195 |
|
196 <span class="k">if</span> <span class="o">(</span><span class="nx">ua</span><span class="o">)</span> <span class="o">{</span> |
|
197 |
|
198 <span class="k">if</span> <span class="o">((</span><span class="sr">/windows|win32/i</span><span class="o">).</span><span class="nx">test</span><span class="o">(</span><span class="nx">ua</span><span class="o">))</span> <span class="o">{</span> |
|
199 <span class="nx">o</span><span class="o">.</span><span class="nx">os</span> <span class="o">=</span> <span class="s1">'windows'</span><span class="o">;</span> |
|
200 <span class="o">}</span> <span class="k">else</span> <span class="k">if</span> <span class="o">((</span><span class="sr">/macintosh/i</span><span class="o">).</span><span class="nx">test</span><span class="o">(</span><span class="nx">ua</span><span class="o">))</span> <span class="o">{</span> |
|
201 <span class="nx">o</span><span class="o">.</span><span class="nx">os</span> <span class="o">=</span> <span class="s1">'macintosh'</span><span class="o">;</span> |
|
202 <span class="o">}</span> |
|
203 |
|
204 <span class="c">// Modern KHTML browsers should qualify as Safari X-Grade</span> |
|
205 <span class="c"></span> <span class="k">if</span> <span class="o">((</span><span class="sr">/KHTML/</span><span class="o">).</span><span class="nx">test</span><span class="o">(</span><span class="nx">ua</span><span class="o">))</span> <span class="o">{</span> |
|
206 <span class="nx">o</span><span class="o">.</span><span class="nx">webkit</span><span class="o">=</span><span class="m">1</span><span class="o">;</span> |
|
207 <span class="o">}</span> |
|
208 <span class="c">// Modern WebKit browsers are at least X-Grade</span> |
|
209 <span class="c"></span> <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/AppleWebKit\/([^\s]*)/</span><span class="o">);</span> |
|
210 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">&&</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">])</span> <span class="o">{</span> |
|
211 <span class="nx">o</span><span class="o">.</span><span class="nx">webkit</span><span class="o">=</span><span class="nx">numberfy</span><span class="o">(</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">]);</span> |
|
212 |
|
213 <span class="c">// Mobile browser check</span> |
|
214 <span class="c"></span> <span class="k">if</span> <span class="o">(</span><span class="sr">/ Mobile\//</span><span class="o">.</span><span class="nx">test</span><span class="o">(</span><span class="nx">ua</span><span class="o">))</span> <span class="o">{</span> |
|
215 <span class="nx">o</span><span class="o">.</span><span class="nx">mobile</span> <span class="o">=</span> <span class="s2">"Apple"</span><span class="o">;</span> <span class="c">// iPhone or iPod Touch</span> |
|
216 <span class="c"></span> <span class="o">}</span> <span class="k">else</span> <span class="o">{</span> |
|
217 <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/</span><span class="o">);</span> |
|
218 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">)</span> <span class="o">{</span> |
|
219 <span class="nx">o</span><span class="o">.</span><span class="nx">mobile</span> <span class="o">=</span> <span class="nx">m</span><span class="o">[</span><span class="m">0</span><span class="o">];</span> <span class="c">// Nokia N-series, Android, webOS, ex: NokiaN95</span> |
|
220 <span class="c"></span> <span class="o">}</span> |
|
221 <span class="o">}</span> |
|
222 |
|
223 <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/AdobeAIR\/([^\s]*)/</span><span class="o">);</span> |
|
224 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">)</span> <span class="o">{</span> |
|
225 <span class="nx">o</span><span class="o">.</span><span class="nx">air</span> <span class="o">=</span> <span class="nx">m</span><span class="o">[</span><span class="m">0</span><span class="o">];</span> <span class="c">// Adobe AIR 1.0 or better</span> |
|
226 <span class="c"></span> <span class="o">}</span> |
|
227 |
|
228 <span class="o">}</span> |
|
229 |
|
230 <span class="k">if</span> <span class="o">(!</span><span class="nx">o</span><span class="o">.</span><span class="nx">webkit</span><span class="o">)</span> <span class="o">{</span> <span class="c">// not webkit</span> |
|
231 <span class="c"></span> <span class="c">// @todo check Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.4509/1316; fi; U; ssr)</span> |
|
232 <span class="c"></span> <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/Opera[\s\/]([^\s]*)/</span><span class="o">);</span> |
|
233 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">&&</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">])</span> <span class="o">{</span> |
|
234 <span class="nx">o</span><span class="o">.</span><span class="nx">opera</span><span class="o">=</span><span class="nx">numberfy</span><span class="o">(</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">]);</span> |
|
235 <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/Opera Mini[^;]*/</span><span class="o">);</span> |
|
236 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">)</span> <span class="o">{</span> |
|
237 <span class="nx">o</span><span class="o">.</span><span class="nx">mobile</span> <span class="o">=</span> <span class="nx">m</span><span class="o">[</span><span class="m">0</span><span class="o">];</span> <span class="c">// ex: Opera Mini/2.0.4509/1316</span> |
|
238 <span class="c"></span> <span class="o">}</span> |
|
239 <span class="o">}</span> <span class="k">else</span> <span class="o">{</span> <span class="c">// not opera or webkit</span> |
|
240 <span class="c"></span> <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/MSIE\s([^;]*)/</span><span class="o">);</span> |
|
241 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">&&</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">])</span> <span class="o">{</span> |
|
242 <span class="nx">o</span><span class="o">.</span><span class="nx">ie</span><span class="o">=</span><span class="nx">numberfy</span><span class="o">(</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">]);</span> |
|
243 <span class="o">}</span> <span class="k">else</span> <span class="o">{</span> <span class="c">// not opera, webkit, or ie</span> |
|
244 <span class="c"></span> <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/Gecko\/([^\s]*)/</span><span class="o">);</span> |
|
245 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">)</span> <span class="o">{</span> |
|
246 <span class="nx">o</span><span class="o">.</span><span class="nx">gecko</span><span class="o">=</span><span class="m">1</span><span class="o">;</span> <span class="c">// Gecko detected, look for revision</span> |
|
247 <span class="c"></span> <span class="nx">m</span><span class="o">=</span><span class="nx">ua</span><span class="o">.</span><span class="nx">match</span><span class="o">(</span><span class="sr">/rv:([^\s\)]*)/</span><span class="o">);</span> |
|
248 <span class="k">if</span> <span class="o">(</span><span class="nx">m</span><span class="o">&&</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">])</span> <span class="o">{</span> |
|
249 <span class="nx">o</span><span class="o">.</span><span class="nx">gecko</span><span class="o">=</span><span class="nx">numberfy</span><span class="o">(</span><span class="nx">m</span><span class="o">[</span><span class="m">1</span><span class="o">]);</span> |
|
250 <span class="o">}</span> |
|
251 <span class="o">}</span> |
|
252 <span class="o">}</span> |
|
253 <span class="o">}</span> |
|
254 <span class="o">}</span> |
|
255 <span class="o">}</span> |
|
256 |
|
257 <span class="k">return</span> <span class="nx">o</span><span class="o">;</span> |
|
258 <span class="o">}();</span> |
|
259 </pre></div> |
|
260 |
|
261 </div> |
|
262 </div> |
|
263 </div> |
|
264 <div class="yui-b"> |
|
265 <div class="nav"> |
|
266 |
|
267 <div id="moduleList" class="module"> |
|
268 <h4>Modules</h4> |
|
269 <ul class="content"> |
|
270 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
271 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
272 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
273 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
274 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
275 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
276 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
277 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
278 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
279 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
280 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
281 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
282 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
283 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
284 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
285 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
286 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
287 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
288 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
289 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
290 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
291 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
292 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
293 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
294 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
295 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
296 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
297 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
298 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
299 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
300 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
301 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
302 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
303 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
304 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
305 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
306 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
307 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
308 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
309 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
310 <li class="selected"><a href="module_yui.html" title="yui">yui</a></li> |
|
311 </ul> |
|
312 </div> |
|
313 |
|
314 <div id="classList" class="module"> |
|
315 <h4>Classes</h4> |
|
316 <ul class="content"> |
|
317 <li class=""><a href="Array.html" title="Array">Array</a></li> |
|
318 <li class=""><a href="config.html" title="config">config</a></li> |
|
319 <li class=""><a href="Get.html" title="Get">Get</a></li> |
|
320 <li class=""><a href="Lang.html" title="Lang">Lang</a></li> |
|
321 <li class=""><a href="Object.html" title="Object">Object</a></li> |
|
322 <li class=""><a href="Queue.html" title="Queue">Queue</a></li> |
|
323 <li class=""><a href="UA.html" title="UA">UA</a></li> |
|
324 <li class=""><a href="YUI.html" title="YUI">YUI</a></li> |
|
325 </ul> |
|
326 </div> |
|
327 |
|
328 <div id="fileList" class="module"> |
|
329 <h4>Files</h4> |
|
330 <ul class="content"> |
|
331 <li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li> |
|
332 <li class=""><a href="get.js.html" title="get.js">get.js</a></li> |
|
333 <li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li> |
|
334 <li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li> |
|
335 <li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li> |
|
336 <li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li> |
|
337 <li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li> |
|
338 <li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li> |
|
339 <li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li> |
|
340 <li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li> |
|
341 <li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li> |
|
342 <li class="selected"><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li> |
|
343 <li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li> |
|
344 </ul> |
|
345 </div> |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 </div> |
|
352 </div> |
|
353 </div> |
|
354 <div id="ft"> |
|
355 <hr /> |
|
356 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
357 </div> |
|
358 </div> |
|
359 <script type="text/javascript"> |
|
360 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"}]; |
|
361 </script> |
|
362 </body> |
|
363 </html> |