From d726a96b1f5008f29097f1efbea9a987015af641 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Mon, 5 May 2008 23:29:28 +0000 Subject: [PATCH] jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel --- test/data/testrunner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/data/testrunner.js b/test/data/testrunner.js index c1114a5..bdb938c 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -184,6 +184,7 @@ function expect(asserts) { */ function reset() { $("#main").html( _config.fixture ); + $.event.global = {}; } /** -- 1.7.10.4