4
<title>YUI 3.2.0 Cloning Event kills window.undefined</title>
5
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
7
<body lang="en-US" class="yui3-skin-sam">
9
<h1>Y.clone bug w/ events</h1>
13
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.1.1/build/yui/yui-min.js"></script>
15
<script type="text/javascript" src="../../../build/yui/yui-min.js"></script>
17
<script type="text/javascript">
21
}).use("dump", "test", "node", "event", "console", function(Y) {
22
var ev = Y.on("click", function(e) {
26
// var ev = Y.on('fooboo', function(e) { });
28
var r = new Y.Console({
35
Y.Test.Runner.add(new Y.Test.Case({
36
"window.undefined should start out undefined" : function() {
37
Y.assert(typeof window.undefined === "undefined");
40
"window.undefined should still be undefined after cloning an event" : function() {
43
Y.log(window.undefined);
44
Y.assert(typeof window.undefined === "undefined");