Fix testing of no-ajax custom builds

This commit is contained in:
Richard Gibson
2012-11-01 00:40:27 -04:00
parent 03a0762817
commit 14e1501b89
5 changed files with 28 additions and 14 deletions

View File

@@ -257,6 +257,8 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
for ( var i in expected ) {
if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) {
equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]);
} else {
ok( true, "no ajax; skipping jQuery.support['" + i + "']" );
}
}
});