Done!

Animations can now be synchronous :D
I ran the test suite but I doubt that module is very effective. I'd
appreciate if you could all test fx-related code with the last
revision.

http://dev.jquery.com/ticket/3495 (sorry, created a new one).

--
Ariel Flesler
http://flesler.blogspot.com/

On Sep 29, 1:34 pm, weepy <[EMAIL PROTECTED]> wrote:
> Hi
>
> It would be really useful if $.fn.animate understood speed of 0 as
> being instant (rather than null => default speed)
>
> I currently use the following to achieve this :
>
> $.fn.animate2 = function(css, speed, fn) {
>     if(speed === 0) {
>       this.css(css)
>       fn()
>     } else {
>       this.animate(css, speed, fn)
>     }
>   }
>
> Does it make sense to roll this into jQuery proper ?
>
> Jonah
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to