From b740fe5632b8731a140f16a2f6855910ea6957b9 Mon Sep 17 00:00:00 2001 From: David Serduke Date: Thu, 20 Dec 2007 07:39:35 +0000 Subject: [PATCH] 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. --- test/unit/event.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/event.js b/test/unit/event.js index 6104481..248094a 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -217,6 +217,7 @@ test("trigger(event, [data], [fn])", function() { // Trigger only the handlers (no native) and extra fn, with external event obj // Triggers 9 + eventObj = jQuery.event.fix({ type: "foo", target: document.body }); equals( $("#firstp").triggerHandler("click", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" ); var pass = true; @@ -270,4 +271,4 @@ test("jQuery(function($) {})", function() { equals(jQuery, $, "ready doesn't provide an event object, instead it provides a reference to the jQuery function, see http://docs.jquery.com/Events/ready#fn"); start(); }); -}); \ No newline at end of file +}); -- 1.7.10.4