Fixed a problem in the unit tests for IE where an optimization made the test case not work. The optimization was fine. It was the unit test that was taking a short cut which caused it to fail after the optimization went in.
This commit is contained in:
parent
0419455473
commit
b740fe5632
|
@ -217,6 +217,7 @@ test("trigger(event, [data], [fn])", function() {
|
||||||
|
|
||||||
// Trigger only the handlers (no native) and extra fn, with external event obj
|
// Trigger only the handlers (no native) and extra fn, with external event obj
|
||||||
// Triggers 9
|
// Triggers 9
|
||||||
|
eventObj = jQuery.event.fix({ type: "foo", target: document.body });
|
||||||
equals( $("#firstp").triggerHandler("click", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" );
|
equals( $("#firstp").triggerHandler("click", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" );
|
||||||
|
|
||||||
var pass = true;
|
var pass = true;
|
||||||
|
|
Loading…
Reference in a new issue