aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDavid Serduke <davidserduke@gmail.com>2007-12-20 19:21:56 +0000
committerDavid Serduke <davidserduke@gmail.com>2007-12-20 19:21:56 +0000
commit259c8aa6044491f41a19668c0283c4d339904ff0 (patch)
tree463834be968a87fde463aa7a66126bd0edd56288 /test/unit
parent17640273705d1450b806bb5c8e71c2849d864a37 (diff)
downloadjquery-259c8aa6044491f41a19668c0283c4d339904ff0.tar.gz
jquery-259c8aa6044491f41a19668c0283c4d339904ff0.zip
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.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/fx.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/unit/fx.js b/test/unit/fx.js
index 481b17222..5f6ad3993 100644
--- a/test/unit/fx.js
+++ b/test/unit/fx.js
@@ -8,12 +8,6 @@ test("animate(Hash, Object, Function)", function() {
$('#foo').animate(hash, 0, function() {
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 () {