aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2008-05-05 23:29:28 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2008-05-05 23:29:28 +0000
commitd726a96b1f5008f29097f1efbea9a987015af641 (patch)
tree867f7af91a658f3ace9b8f5c787bce40e1715f2a /test
parentf8698395acbe428bd7c3dd6dd5700a0c660deeab (diff)
downloadjquery-d726a96b1f5008f29097f1efbea9a987015af641.tar.gz
jquery-d726a96b1f5008f29097f1efbea9a987015af641.zip
jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel
Diffstat (limited to 'test')
-rw-r--r--test/data/testrunner.js1
1 files changed, 1 insertions, 0 deletions
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 = {};
}
/**