Skip to content
Permalink
Browse files

Here is hoping everything works with the full build and the build wit…

…hout ajax... looking at you @dmethvin ;)
  • Loading branch information...
jaubourg committed Jun 11, 2012
1 parent 8017683 commit cac5b08f7215159ccd8ee328b02a7e2355aeb5bb
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/data/testinit.js
@@ -132,7 +132,7 @@ function url( value ) {
var oldCacheLength = 0,
oldFragmentsLength = 0,
oldTimersLength = 0,
oldActive = jQuery.active || 0;
oldActive = 0;

/**
* Ensures that tests have cleaned up properly after themselves. Should be passed as the
@@ -168,7 +168,7 @@ function url( value ) {
equal( jQuery.timers.length, oldTimersLength, "No timers are still running" );
oldTimersLength = jQuery.timers.length;
}
if ( jQuery.active !== oldActive ) {
if ( jQuery.active !== undefined && jQuery.active !== oldActive ) {
equal( jQuery.active, 0, "No AJAX requests are still active" );
oldActive = jQuery.active;
}

0 comments on commit cac5b08

Please sign in to comment.
You can’t perform that action at this time.