aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/testinit.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-06-11 14:07:02 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-06-11 14:07:02 -0400
commit142ff73450c02254a0fd866a0688c4720f8d2bdf (patch)
treec83e663edc042076a9a801f8891e3753e5935261 /test/data/testinit.js
parent1ac15582f2a9d45af5a28a9de88d579c8d97bc23 (diff)
downloadjquery-142ff73450c02254a0fd866a0688c4720f8d2bdf.tar.gz
jquery-142ff73450c02254a0fd866a0688c4720f8d2bdf.zip
Prevent total unit test meltdown ... and now over to @jaubourg!
Diffstat (limited to 'test/data/testinit.js')
-rw-r--r--test/data/testinit.js2
1 files changed, 1 insertions, 1 deletions
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