Commit cac5b08f authored by jaubourg's avatar jaubourg

Here is hoping everything works with the full build and the build without...

Here is hoping everything works with the full build and the build without ajax... looking at you @dmethvin ;)
parent 80176838
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment