From 142ff73450c02254a0fd866a0688c4720f8d2bdf Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Mon, 11 Jun 2012 14:07:02 -0400 Subject: [PATCH] Prevent total unit test meltdown ... and now over to @jaubourg! --- test/data/testinit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/data/testinit.js b/test/data/testinit.js index 2bf353788..3e0402c8f 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -132,7 +132,7 @@ function url( value ) { var oldCacheLength = 0, oldFragmentsLength = 0, oldTimersLength = 0, - oldActive = jQuery.active; + oldActive = jQuery.active || 0; /** * Ensures that tests have cleaned up properly after themselves. Should be passed as the -- 2.39.5