get.html revision ef8af16cc0ad477369b77e6400c4462dd7ac5993
98N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
98N/A<html>
98N/A <head>
98N/A <title>YUI Get Tests</title>
98N/A </head>
98N/A <body class="yui3-skin-sam">
98N/A <div id="log"></div>
98N/A
98N/A <script type="text/javascript" src="/build/yui/yui.js"></script>
98N/A
98N/A <script type="text/javascript">
98N/A G_SCRIPTS = [];
98N/A
98N/A YUI().use("get", function(Y) {
98N/A
98N/A var d1 = +(new Date()), d2;
98N/A
98N/A Y.Get.script([
98N/A "http://127.0.0.1:8014/a.js?delay=500&dt=" + new Date().getTime(),
98N/A "http://127.0.0.1:8014/b.js?delay=700&dt=?" + new Date().getTime(),
98N/A "http://127.0.0.1:8014/c.js?delay=100&dt=" + new Date().getTime()
98N/A ], {
98N/A onSuccess: function(o) {
98N/A d2 = +(new Date());
98N/A console.log("Succeeded:" + G_SCRIPTS);
98N/A console.log(d2-d1);
98N/A },
98N/A onFailure: function(o) {
98N/A console.log("Failed:" + G_SCRIPTS);
98N/A },
98N/A async:true
98N/A });
191N/A
98N/A });
98N/A </script>
98N/A </body>
98N/A</html>
98N/A