get.html revision 3a576e53cba805e99d1d9d59f87dce20ec089d44
<html>
<head>
<title>YUI 3.0</title>
<body>
<input id="addButton" type="button" value="Add link" />
<script type="text/javascript">
YUI({ base: '/build/' }).use('node', function(Y) {
Y.on('click', function() {
for (var i=0; i<50; i=i+1) {
}
}, '#addButton');
// Y.Get.css(["/build/menu/assets/skins/sam/menu.css", "/build/logger/assets/skins/sam/logger.css"], {
timeout: 2000,
onSuccess: function() {
},
onTimeout: function() {
Y.log('onTimeout handler');
}
});
], {
timeout: 2000,
onSuccess: function() {
], {
timeout: 2000,
onSuccess: function() {
},
onTimeout: function() {
Y.log('onTimeout handler');
},
autopurge: true,
purgethreshold: 1
});
},
onTimeout: function() {
Y.log('onTimeout handler');
},
autopurge: true,
purgethreshold: 1
});
Y.Get.script("failure", {
onEnd: function(e) {
}
});
});
</script>
</body>
</html>