mirror of
https://github.com/jquery/jquery.git
synced 2026-02-04 11:25:27 -05:00
Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).
This commit is contained in:
@@ -482,8 +482,10 @@ test("addClass(Function) with incoming value", function() {
|
||||
});
|
||||
|
||||
div.addClass(function(i, val) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
if ( this.id !== "_firebugConsole" ) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
}
|
||||
});
|
||||
|
||||
var pass = true;
|
||||
@@ -553,8 +555,10 @@ test("removeClass(Function) with incoming value", function() {
|
||||
});
|
||||
|
||||
$divs.removeClass(function(i, val) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
if ( this.id !== "_firebugConsole" ) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
}
|
||||
});
|
||||
|
||||
ok( !$divs.is('.test'), "Remove Class" );
|
||||
|
||||
Reference in New Issue
Block a user