Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739.

This commit is contained in:
John Resig 2009-01-02 23:32:10 +00:00
parent b2552e6ea3
commit b2583a7526
2 changed files with 17 additions and 8 deletions

View file

@ -34,6 +34,18 @@ test("animate option (queue === false)", function () {
});
});
test("animate non-element", function(){
expect(1);
stop();
var obj = { test: 0 };
jQuery(obj).animate({test: 200}, 200, function(){
equals( obj.test, 200, "The custom property should be modified." );
start();
});
});
test("stop()", function() {
expect(3);
stop();