Skip to content

Commit 259c8aa

Browse files
committed
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.
1 parent 1764027 commit 259c8aa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/unit/fx.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ test("animate(Hash, Object, Function)", function() {
88
$('#foo').animate(hash, 0, function() {
99
ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
1010
});
11-
// using contents will get comments regular, text, and comment nodes
12-
$("#nonnodes").contents().animate({paddingLeft:"5px"}, 100, function () {
13-
equals(this.nodeType, 1, "Check node,textnode,comment animate just does real nodes" );
14-
equals($(this).css("paddingLeft"), "5px", "Check node,textnode,comment animate just does real nodes" );
15-
start();
16-
});
1711
});
1812

1913
test("animate option (queue === false)", function () {

0 commit comments

Comments
 (0)