Showing attachment for Ticket #2532322
Try to destroy sync. after 2nd use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta charset=utf-8 />
<title>Destroy Y Instance - IE error</title>
<style>
</style>
</head>
<body>
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>
<ol>
<li>Load in IE, for which node has conditional modules.</li>
<li>Look at the error console.</li>
</ol>
<script>
YUI().use('node', function (Y) {
// Would have expected this to be sync?
var Y1 = YUI().use('node', function(Y1) {});
// But calling destroy() results in a JS exception [ Y.config is undefined in the Y.config.throwFail line in event-custom-base.js ]
Y1.destroy();
});
</script>
</body>
</html>
Uploaded By: Satyen Desai
Date: 05/15/12
Size: 779 bytes
Name: Ydestroy.html
Click here to download the file.
Date: 05/15/12
Size: 779 bytes
Name: Ydestroy.html
Click here to download the file.