]> source.dussan.org Git - jquery.git/commitdiff
jquery testrunner: reset global events after each run, speeds up a test run for ajax...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 5 May 2008 23:29:28 +0000 (23:29 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 5 May 2008 23:29:28 +0000 (23:29 +0000)
test/data/testrunner.js

index c1114a5969b8190fc6f3d86c7346e60f51c5e9ea..bdb938c40781f6ac208efc9bf3f4ea29f6eeb057 100644 (file)
@@ -184,6 +184,7 @@ function expect(asserts) {
  */
 function reset() {
        $("#main").html( _config.fixture );
+       $.event.global = {};
 }
 
 /**