From: Jörn Zaefferer Date: Mon, 5 May 2008 23:29:28 +0000 (+0000) Subject: jquery testrunner: reset global events after each run, speeds up a test run for ajax... X-Git-Tag: 1.2.4b~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d726a96b1f5008f29097f1efbea9a987015af641;p=jquery.git jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel --- diff --git a/test/data/testrunner.js b/test/data/testrunner.js index c1114a596..bdb938c40 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 = {}; } /**