Switched from using QUnit's isObj/isSet to the more robust same method.

This commit is contained in:
John Resig 2009-09-29 19:49:43 +00:00
parent f8b7d391e6
commit 4bda398e6a
6 changed files with 95 additions and 95 deletions

View file

@ -57,7 +57,7 @@ test("animate option (queue === false)", function () {
$foo.animate({width:'100px'}, 3000, function () {
// should finish after unqueued animation so second
order.push(2);
isSet( order, [ 1, 2 ], "Animations finished in the correct order" );
same( order, [ 1, 2 ], "Animations finished in the correct order" );
start();
});
$foo.animate({fontSize:'2em'}, {queue:false, duration:10, complete:function () {