event-hover-tests.js revision 64436761af23a95069579e643c4ef13a252e330d
// Not sure why the module isn't getting included
};
}
};
};
function setUp() {
body;
if (!testbed) {
}
'<ul id="items">' +
'<li id="item1">' +
'<div id="div1"><p id="p1"># <em id="em1">1</em></p></div>' +
'</li>' +
'<li id="item2">' +
'<div id="div2"><p id="p2"># <em id="em2">2</em></p></div>' +
'</li>' +
'<li id="item3">' +
'<div id="div3"><p id="p3"># <em id="em3">3</em></p></div>' +
'</li>' +
'</ul>');
}
function tearDown() {
if (testbed) {
}
}
testbedReached = false,
testbedReached = true;
}
return !testbedReached;
}, true),
i, len, relatedTarget;
if (out) {
}
} else {
}
}
}
name: 'subscribe',
"test node.on('hover', over, out)": function () {
var overCount = 0,
outCount = 0,
function over(e) {
overCount++;
overThisObj = this;
overTarget = e.target;
}
function out(e) {
outCount++;
outThisObj = this;
}
mouse('#em1');
mouse("#em1", true);
},
"test Y.on('hover', over, out, '#foo')": function () {
},
"test nodelist.on('hover', over, out)": function () {
},
"test node.on('hover', over, out, thisObj)": function () {
},
"test Y.on('hover', over, out, '#foo', thisObj)": function () {
},
"test nodelist.on('hover', over, out, thisObj)": function () {
},
"test node.on('hover', over, out, thisObj, arg)": function () {
},
"test Y.on('hover', over, out, '#foo', thisObj, arg)": function () {
},
"test nodelist.on('hover', over, out, thisObj), arg": function () {
},
"test node.on('hover', over, out, null, arg)": function () {
},
"test Y.on('hover', over, out, '#foo', null, arg)": function () {
},
"test nodelist.on('hover', over, out, null), arg": function () {
}
}));
name: 'detach',
"test node.on('hover', over, out); node.detach('hover');": function () {
},
"test node.on('hover', over, out); node.detach('hover', over);": function () {
},
"test node.on('cat|hover', over, out); node.detach('cat|hover');": function () {
},
"test node.on('cat|hover', over, out); node.detach('cat|*');": function () {
},
"test node.on('hover', over, out); handle.detach();": function () {
}
}));
name: 'delegate',
}));