mirror of
https://github.com/jquery/jquery.git
synced 2026-01-23 15:18:05 -05:00
Here is hoping everything works with the full build and the build without ajax... looking at you @dmethvin ;)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user