|
525
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html lang="en"> |
|
|
3 |
<head> |
|
|
4 |
<meta charset="utf-8"> |
|
|
5 |
<title>Example: DataSchema.JSON</title> |
|
|
6 |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic"> |
|
|
7 |
<link rel="stylesheet" href="../../build/cssgrids/cssgrids-min.css"> |
|
|
8 |
<link rel="stylesheet" href="../assets/css/main.css"> |
|
|
9 |
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> |
|
|
10 |
<link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> |
|
|
11 |
<script src="../../build/yui/yui-min.js"></script> |
|
|
12 |
|
|
|
13 |
</head> |
|
|
14 |
<body> |
|
|
15 |
<!-- |
|
|
16 |
<a href="https://github.com/yui/yui3"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> |
|
|
17 |
--> |
|
|
18 |
<div id="doc"> |
|
|
19 |
<div id="hd"> |
|
|
20 |
<h1><img src="http://yuilibrary.com/img/yui-logo.png"></h1> |
|
|
21 |
</div> |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<h1>Example: DataSchema.JSON</h1> |
|
|
25 |
<div class="yui3-g"> |
|
|
26 |
<div class="yui3-u-3-4"> |
|
|
27 |
<div id="main"> |
|
|
28 |
<div class="content"><div class="intro"> |
|
|
29 |
<p>DataSchema.JSON normalizes arbitrary JSON data against a given schema into an object with known properties.</p> |
|
|
30 |
</div> |
|
|
31 |
|
|
|
32 |
<div class="example yui3-skin-sam"> |
|
|
33 |
<style scoped> |
|
|
34 |
/* custom styles for this example */ |
|
|
35 |
#demo .output {margin-bottom:1em; padding:10px; border:1px solid #D9D9D9;} |
|
|
36 |
</style> |
|
|
37 |
|
|
|
38 |
<form id="demo"> |
|
|
39 |
<h4>Basic example</h4> |
|
|
40 |
<h6>Data</h6> |
|
|
41 |
<pre> |
|
|
42 |
{ |
|
|
43 |
"total":10, |
|
|
44 |
"results":[ |
|
|
45 |
{"n":1, "fname":"George", "lname":"Washington"}, |
|
|
46 |
{"n":2, "fname":"John", "lname":"Adams"}, |
|
|
47 |
{"n":3, "fname":"Thomas", "lname":"Jefferson"}, |
|
|
48 |
{"n":4, "fname":"James", "lname":"Madison"}, |
|
|
49 |
{"n":5, "fname":"James", "lname":"Monroe"}, |
|
|
50 |
{"n":6, "fname":"John", "mname":"Quincy", "lname":"Adams"}, |
|
|
51 |
{"n":7, "fname":"Andrew", "lname":"Jackson"}, |
|
|
52 |
{"n":8, "fname":"Martin", "lname":"Van Buren"}, |
|
|
53 |
{"n":9, "fname":"William", "mname":"Henry", "lname":"Harrison"}, |
|
|
54 |
{"n":10, "fname":"John", "lname":"Tyler"} |
|
|
55 |
] |
|
|
56 |
} |
|
|
57 |
</pre> |
|
|
58 |
|
|
|
59 |
<h6>Schema</h6> |
|
|
60 |
<pre> |
|
|
61 |
{ |
|
|
62 |
metaFields: {total:"total"}, |
|
|
63 |
resultListLocator: "results", |
|
|
64 |
resultFields: [{key:"n"}, {key:"fname"}, {key:"lname"}] |
|
|
65 |
} |
|
|
66 |
</pre> |
|
|
67 |
|
|
|
68 |
<h6>Normalized data</h6> |
|
|
69 |
<input type="button" id="demo_apply_basic" value="Apply schema =>"> |
|
|
70 |
<div id="demo_output_basic" class="output"></div> |
|
|
71 |
|
|
|
72 |
<h4>Complex example</h4> |
|
|
73 |
<h6>Data</h6> |
|
|
74 |
<pre> |
|
|
75 |
{ |
|
|
76 |
"profile":{ |
|
|
77 |
"current":160, |
|
|
78 |
"target":150 |
|
|
79 |
}, |
|
|
80 |
"reference": [ |
|
|
81 |
{ |
|
|
82 |
"category":"exercise", |
|
|
83 |
"type":"expenditure", |
|
|
84 |
"activities":[ |
|
|
85 |
{"name":"biking", "calories":550}, |
|
|
86 |
{"name":"golf", "calories":1000}, |
|
|
87 |
{"name":"running", "calories":650}, |
|
|
88 |
{"name":"swimming", "calories":650}, |
|
|
89 |
{"name":"walking", "calories":225} |
|
|
90 |
] |
|
|
91 |
}, |
|
|
92 |
{ |
|
|
93 |
"category":"nutrition", |
|
|
94 |
"type":"intake", |
|
|
95 |
"fruit":[ |
|
|
96 |
{"name":"apple", "calories":70}, |
|
|
97 |
{"name":"banana", "calories":70}, |
|
|
98 |
{"name":"orange", "calories":90}, |
|
|
99 |
], |
|
|
100 |
"vegetables":[ |
|
|
101 |
{"name":"baked potato", "calories":150}, |
|
|
102 |
{"name":"broccoli", "calories":50}, |
|
|
103 |
{"name":"green beans", "calories":30} |
|
|
104 |
] |
|
|
105 |
} |
|
|
106 |
], |
|
|
107 |
"program": [ |
|
|
108 |
{ |
|
|
109 |
"category":"exercise", |
|
|
110 |
"schedule":[ |
|
|
111 |
{"day":"sunday", "activity":"swimming"}, |
|
|
112 |
{"day":"monday", "activity":"running"}, |
|
|
113 |
{"day":"tuesday", "activity":"biking"}, |
|
|
114 |
{"day":"wednesday", "activity":"running"}, |
|
|
115 |
{"day":"thursday", "activity":"swimming"}, |
|
|
116 |
{"day":"friday", "activity":"running"}, |
|
|
117 |
{"day":"saturday", "activity":"golf"} |
|
|
118 |
] |
|
|
119 |
}, |
|
|
120 |
{ |
|
|
121 |
"category":"diet", |
|
|
122 |
"schedule":[ |
|
|
123 |
] |
|
|
124 |
} |
|
|
125 |
] |
|
|
126 |
} |
|
|
127 |
</pre> |
|
|
128 |
|
|
|
129 |
<h6>Schema</h6> |
|
|
130 |
<pre> |
|
|
131 |
{ |
|
|
132 |
metaFields: {current:"profile.current", target:"profile.target", |
|
|
133 |
reference:"reference[0].activities"}, |
|
|
134 |
resultListLocator: "program[0].schedule", |
|
|
135 |
resultFields: [{key:"day"}, {key:"activity"}] |
|
|
136 |
} |
|
|
137 |
</pre> |
|
|
138 |
|
|
|
139 |
<h6>Normalized data</h6> |
|
|
140 |
<input type="button" id="demo_apply_complex" value="Apply schema =>"> |
|
|
141 |
<div id="demo_output_complex" class="output"></div> |
|
|
142 |
</form> |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
<script> |
|
|
146 |
YUI().use("dump", "node", "dataschema-json", function (Y) { |
|
|
147 |
Y.on("click", function(e){ |
|
|
148 |
var data_in = { |
|
|
149 |
"total":10, |
|
|
150 |
"results":[ |
|
|
151 |
{"n":1, "fname":"George", "lname":"Washington"}, |
|
|
152 |
{"n":2, "fname":"John", "lname":"Adams"}, |
|
|
153 |
{"n":3, "fname":"Thomas", "lname":"Jefferson"}, |
|
|
154 |
{"n":4, "fname":"James", "lname":"Madison"}, |
|
|
155 |
{"n":5, "fname":"James", "lname":"Monroe"}, |
|
|
156 |
{"n":6, "fname":"John", "mname":"Quincy", "lname":"Adams"}, |
|
|
157 |
{"n":7, "fname":"Andrew", "lname":"Jackson"}, |
|
|
158 |
{"n":8, "fname":"Martin", "lname":"Van Buren"}, |
|
|
159 |
{"n":9, "fname":"William", "mname":"Henry", "lname":"Harrison"}, |
|
|
160 |
{"n":10, "fname":"John", "lname":"Tyler"} |
|
|
161 |
] |
|
|
162 |
}, |
|
|
163 |
schema = { |
|
|
164 |
metaFields: {total:"total"}, |
|
|
165 |
resultListLocator: "results", |
|
|
166 |
resultFields: [{key:"n"}, {key:"fname"}, {key:"lname"}] // Or simply: ["n", "fname", "lname"] |
|
|
167 |
}; |
|
|
168 |
Y.one("#demo_output_basic").setHTML(Y.dump(Y.DataSchema.JSON.apply(schema, data_in))); |
|
|
169 |
}, "#demo_apply_basic"); |
|
|
170 |
|
|
|
171 |
Y.on("click", function(e){ |
|
|
172 |
var data_in = { |
|
|
173 |
"profile":{ |
|
|
174 |
"current":160, |
|
|
175 |
"target":150 |
|
|
176 |
}, |
|
|
177 |
"reference": [ |
|
|
178 |
{ |
|
|
179 |
"category":"exercise", |
|
|
180 |
"type":"expenditure", |
|
|
181 |
"activities":[ |
|
|
182 |
{"name":"biking", "calories":550}, |
|
|
183 |
{"name":"golf", "calories":1000}, |
|
|
184 |
{"name":"running", "calories":650}, |
|
|
185 |
{"name":"swimming", "calories":650}, |
|
|
186 |
{"name":"walking", "calories":225} |
|
|
187 |
] |
|
|
188 |
}, |
|
|
189 |
{ |
|
|
190 |
"category":"nutrition", |
|
|
191 |
"type":"intake", |
|
|
192 |
"fruit":[ |
|
|
193 |
{"name":"apple", "calories":70}, |
|
|
194 |
{"name":"banana", "calories":70}, |
|
|
195 |
{"name":"orange", "calories":90}, |
|
|
196 |
], |
|
|
197 |
"vegetables":[ |
|
|
198 |
{"name":"baked potato", "calories":150}, |
|
|
199 |
{"name":"broccoli", "calories":50}, |
|
|
200 |
{"name":"green beans", "calories":30} |
|
|
201 |
] |
|
|
202 |
} |
|
|
203 |
], |
|
|
204 |
"program": [ |
|
|
205 |
{ |
|
|
206 |
"category":"exercise", |
|
|
207 |
"weekly schedule":[ |
|
|
208 |
{"day":"sunday", "activity":"swimming"}, |
|
|
209 |
{"day":"monday", "activity":"running"}, |
|
|
210 |
{"day":"tuesday", "activity":"biking"}, |
|
|
211 |
{"day":"wednesday", "activity":"running"}, |
|
|
212 |
{"day":"thursday", "activity":"swimming"}, |
|
|
213 |
{"day":"friday", "activity":"running"}, |
|
|
214 |
{"day":"saturday", "activity":"golf"} |
|
|
215 |
] |
|
|
216 |
}, |
|
|
217 |
{ |
|
|
218 |
"category":"diet", |
|
|
219 |
"schedule":[ |
|
|
220 |
] |
|
|
221 |
} |
|
|
222 |
] |
|
|
223 |
}, |
|
|
224 |
schema = { |
|
|
225 |
metaFields: {current:"profile.current", target:"profile.target", reference:"reference[0].activities"}, |
|
|
226 |
resultListLocator: "program[0]['weekly schedule']", |
|
|
227 |
resultFields: [{key:"day"}, {key:"activity"}] // Or simply: ["day", "activity"] |
|
|
228 |
}; |
|
|
229 |
Y.one("#demo_output_complex").setHTML(Y.dump(Y.DataSchema.JSON.apply(schema, data_in))); |
|
|
230 |
}, "#demo_apply_complex"); |
|
|
231 |
}); |
|
|
232 |
</script> |
|
|
233 |
|
|
|
234 |
</div> |
|
|
235 |
|
|
|
236 |
<p>In order to use DataSchema.JSON, input data must be a JavaScript object.</p> |
|
|
237 |
|
|
|
238 |
<pre class="code prettyprint">YUI().use("dataschema-json", function(Y) { |
|
|
239 |
var data_in = { |
|
|
240 |
total:10, |
|
|
241 |
results:[ |
|
|
242 |
{n:1, fname:"George", lname:"Washington"}, |
|
|
243 |
{n:2, fname:"John", lname:"Adams"}, |
|
|
244 |
{n:3, fname:"Thomas", lname:"Jefferson"}, |
|
|
245 |
{n:4, fname:"James", lname:"Madison"}, |
|
|
246 |
{n:5, fname:"James", lname:"Monroe"}, |
|
|
247 |
{n:6, fname:"John", mname:"Quincy", lname:"Adams"}, |
|
|
248 |
{n:7, fname:"Andrew", lname:"Jackson"}, |
|
|
249 |
{n:8, fname:"Martin", lname:"Van Buren"}, |
|
|
250 |
{n:9, fname:"William", mName:"Henry", lname:"Harrison"}, |
|
|
251 |
{n:10, fname:"John", lname:"Tyler"} |
|
|
252 |
] |
|
|
253 |
}, |
|
|
254 |
schema = { |
|
|
255 |
metaFields: {total:"total"}, |
|
|
256 |
resultListLocator: "results", |
|
|
257 |
// Or simply: ["n", "fname", "lname"] |
|
|
258 |
resultFields: [{key:"n"}, {key:"fname"}, {key:"lname"}] |
|
|
259 |
}, |
|
|
260 |
data_out = Y.DataSchema.JSON.apply(schema, data_in)); |
|
|
261 |
|
|
|
262 |
alert(data_out); |
|
|
263 |
});</pre> |
|
|
264 |
|
|
|
265 |
|
|
|
266 |
<p>The data itself can get fairly complex, with deeply nested arrays and objects. In your schema, you can use dot notation and the array-index syntax to define these locations. When necessary, you can also use object-bracket notation to define locations that might otherwise be invalid with dot notation.</p> |
|
|
267 |
|
|
|
268 |
<pre class="code prettyprint">YUI().use("dataschema-json", function(Y) { |
|
|
269 |
var data_in = { |
|
|
270 |
"profile":{ |
|
|
271 |
"current":160, |
|
|
272 |
"target":150 |
|
|
273 |
}, |
|
|
274 |
"reference": [ |
|
|
275 |
{ |
|
|
276 |
"category":"exercise", |
|
|
277 |
"type":"expenditure", |
|
|
278 |
"activities":[ |
|
|
279 |
{"name":"biking", "calories":550}, |
|
|
280 |
{"name":"golf", "calories":1000}, |
|
|
281 |
{"name":"running", "calories":650}, |
|
|
282 |
{"name":"swimming", "calories":650}, |
|
|
283 |
{"name":"walking", "calories":225} |
|
|
284 |
] |
|
|
285 |
}, |
|
|
286 |
{ |
|
|
287 |
"category":"nutrition", |
|
|
288 |
"type":"intake", |
|
|
289 |
"fruit":[ |
|
|
290 |
{"name":"apple", "calories":70}, |
|
|
291 |
{"name":"banana", "calories":70}, |
|
|
292 |
{"name":"orange", "calories":90}, |
|
|
293 |
], |
|
|
294 |
"vegetables":[ |
|
|
295 |
{"name":"baked potato", "calories":150}, |
|
|
296 |
{"name":"broccoli", "calories":50}, |
|
|
297 |
{"name":"green beans", "calories":30} |
|
|
298 |
] |
|
|
299 |
} |
|
|
300 |
], |
|
|
301 |
"program": [ |
|
|
302 |
{ |
|
|
303 |
"category":"exercise", |
|
|
304 |
"weekly schedule":[ |
|
|
305 |
{"day":"sunday", "activity":"swimming"}, |
|
|
306 |
{"day":"monday", "activity":"running"}, |
|
|
307 |
{"day":"tuesday", "activity":"biking"}, |
|
|
308 |
{"day":"wednesday", "activity":"running"}, |
|
|
309 |
{"day":"thursday", "activity":"swimming"}, |
|
|
310 |
{"day":"friday", "activity":"running"}, |
|
|
311 |
{"day":"saturday", "activity":"golf"} |
|
|
312 |
] |
|
|
313 |
}, |
|
|
314 |
{ |
|
|
315 |
"category":"diet", |
|
|
316 |
"schedule":[ |
|
|
317 |
] |
|
|
318 |
} |
|
|
319 |
] |
|
|
320 |
}, |
|
|
321 |
schema = { |
|
|
322 |
metaFields: {current:"profile.current", target:"profile.target", |
|
|
323 |
reference:"reference[0].activities"}, |
|
|
324 |
resultListLocator: "program[0]['weekly schedule']", |
|
|
325 |
// Or simply: ["day", "activity"] |
|
|
326 |
resultFields: [{key:"day"}, {key:"activity"}] |
|
|
327 |
}, |
|
|
328 |
data_out = Y.DataSchema.Array.apply(schema, data_in)); |
|
|
329 |
|
|
|
330 |
alert(data_out); |
|
|
331 |
});</pre> |
|
|
332 |
|
|
|
333 |
</div> |
|
|
334 |
</div> |
|
|
335 |
</div> |
|
|
336 |
|
|
|
337 |
<div class="yui3-u-1-4"> |
|
|
338 |
<div class="sidebar"> |
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
<div class="sidebox"> |
|
|
343 |
<div class="hd"> |
|
|
344 |
<h2 class="no-toc">Examples</h2> |
|
|
345 |
</div> |
|
|
346 |
|
|
|
347 |
<div class="bd"> |
|
|
348 |
<ul class="examples"> |
|
|
349 |
|
|
|
350 |
|
|
|
351 |
<li data-description="Schema parsing a JavaScript array."> |
|
|
352 |
<a href="dataschema-array.html">DataSchema.Array</a> |
|
|
353 |
</li> |
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
<li data-description="Schema parsing JSON data."> |
|
|
358 |
<a href="dataschema-json.html">DataSchema.JSON</a> |
|
|
359 |
</li> |
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
<li data-description="Schema parsing XML data."> |
|
|
364 |
<a href="dataschema-xml.html">DataSchema.XML for XML Data</a> |
|
|
365 |
</li> |
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
<li data-description="Schema parsing data held in TABLE elements."> |
|
|
370 |
<a href="dataschema-table.html">DataSchema.XML for HTML Tables</a> |
|
|
371 |
</li> |
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
<li data-description="Schema parsing delimited plain-text data."> |
|
|
376 |
<a href="dataschema-text.html">DataSchema.Text</a> |
|
|
377 |
</li> |
|
|
378 |
|
|
|
379 |
|
|
|
380 |
|
|
|
381 |
<li data-description="Parsing data into specified types as the schema is being applied."> |
|
|
382 |
<a href="dataschema-parsing.html">Enforcing DataTypes</a> |
|
|
383 |
</li> |
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
</ul> |
|
|
399 |
</div> |
|
|
400 |
</div> |
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
<div class="sidebox"> |
|
|
405 |
<div class="hd"> |
|
|
406 |
<h2 class="no-toc">Examples That Use This Component</h2> |
|
|
407 |
</div> |
|
|
408 |
|
|
|
409 |
<div class="bd"> |
|
|
410 |
<ul class="examples"> |
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
<li data-description="The Local DataSource manages retrieval of in-page data, from JavaScript arrays and objects to DOM elements."> |
|
|
426 |
<a href="../datasource/datasource-local.html">DataSource.Local</a> |
|
|
427 |
</li> |
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
<li data-description="The Get DataSource, which manages retrieval of data from remote sources via the Get Utility, can be useful for accessing data from cross-domain servers without the need for a proxy."> |
|
|
432 |
<a href="../datasource/datasource-get.html">DataSource.Get</a> |
|
|
433 |
</li> |
|
|
434 |
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
<li data-description="The IO DataSource manages retrieval of data from remote sources, via the IO Utility."> |
|
|
438 |
<a href="../datasource/datasource-io.html">DataSource.IO</a> |
|
|
439 |
</li> |
|
|
440 |
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
<li data-description="The Function DataSource, which manages retrieval of data from a JavaScript function, provides a highly customizeable mechanism for implementer-defined data retrieval algorithms"> |
|
|
444 |
<a href="../datasource/datasource-function.html">DataSource.Function</a> |
|
|
445 |
</li> |
|
|
446 |
|
|
|
447 |
|
|
|
448 |
|
|
|
449 |
<li data-description="Use the DataSourceCache plugin to enable caching and reduce server calls to remote sources."> |
|
|
450 |
<a href="../datasource/datasource-caching.html">DataSource with Caching</a> |
|
|
451 |
</li> |
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
<li data-description="The DataSourceCache plugin supports offline caching so that cached data persists across browser sessions."> |
|
|
456 |
<a href="../datasource/datasource-offlinecache.html">DataSource with Offline Cache</a> |
|
|
457 |
</li> |
|
|
458 |
|
|
|
459 |
|
|
|
460 |
</ul> |
|
|
461 |
</div> |
|
|
462 |
</div> |
|
|
463 |
|
|
|
464 |
</div> |
|
|
465 |
</div> |
|
|
466 |
</div> |
|
|
467 |
</div> |
|
|
468 |
|
|
|
469 |
<script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
|
470 |
<script>prettyPrint();</script> |
|
|
471 |
|
|
|
472 |
<script> |
|
|
473 |
YUI.Env.Tests = { |
|
|
474 |
examples: [], |
|
|
475 |
project: '../assets', |
|
|
476 |
assets: '../assets/dataschema', |
|
|
477 |
name: 'dataschema-json', |
|
|
478 |
title: 'DataSchema.JSON', |
|
|
479 |
newWindow: '', |
|
|
480 |
auto: false |
|
|
481 |
}; |
|
|
482 |
YUI.Env.Tests.examples.push('dataschema-array'); |
|
|
483 |
YUI.Env.Tests.examples.push('dataschema-json'); |
|
|
484 |
YUI.Env.Tests.examples.push('dataschema-xml'); |
|
|
485 |
YUI.Env.Tests.examples.push('dataschema-table'); |
|
|
486 |
YUI.Env.Tests.examples.push('dataschema-text'); |
|
|
487 |
YUI.Env.Tests.examples.push('dataschema-parsing'); |
|
|
488 |
YUI.Env.Tests.examples.push('datasource-local'); |
|
|
489 |
YUI.Env.Tests.examples.push('datasource-get'); |
|
|
490 |
YUI.Env.Tests.examples.push('datasource-io'); |
|
|
491 |
YUI.Env.Tests.examples.push('datasource-function'); |
|
|
492 |
YUI.Env.Tests.examples.push('datasource-caching'); |
|
|
493 |
YUI.Env.Tests.examples.push('datasource-offlinecache'); |
|
|
494 |
|
|
|
495 |
</script> |
|
|
496 |
<script src="../assets/yui/test-runner.js"></script> |
|
|
497 |
|
|
|
498 |
|
|
|
499 |
|
|
|
500 |
</body> |
|
|
501 |
</html> |