Thanks Jörn! I finally took some time to play around with the test
suite... good job!
This is now fixed in SVN.
--
Brandon Aaron
On 10/10/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Brandon Aaron schrieb:
> > If someone can send me a test case I'd be more than happy to commit this to
> > SVN.
> >
> Just add something like this to animate:
> @test stop();
> var hash = {opacity: 'hide'};
> var hashCopy = $.extend({}, hash);
> $('#foo').animate(hash, 'fast', function() {
> ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the
> hash parameter' );
> start();
> });
>
> Using stop() and start() like that is necessary to test the asynchronous
> code. I'm not sure wheather that comparision suffices. Just run it
> against the current code to see if it fails.
>
> -- Jörn
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/