mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Removed a unit test that tested to see if queued objects were of a certain type. It was decided you can queue anything and it is up to the coder to make sure it was intended.
This commit is contained in:
parent
1764027370
commit
259c8aa604
@ -8,12 +8,6 @@ test("animate(Hash, Object, Function)", function() {
|
|||||||
$('#foo').animate(hash, 0, function() {
|
$('#foo').animate(hash, 0, function() {
|
||||||
ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
|
ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
|
||||||
});
|
});
|
||||||
// using contents will get comments regular, text, and comment nodes
|
|
||||||
$("#nonnodes").contents().animate({paddingLeft:"5px"}, 100, function () {
|
|
||||||
equals(this.nodeType, 1, "Check node,textnode,comment animate just does real nodes" );
|
|
||||||
equals($(this).css("paddingLeft"), "5px", "Check node,textnode,comment animate just does real nodes" );
|
|
||||||
start();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("animate option (queue === false)", function () {
|
test("animate option (queue === false)", function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user