benbarnett / jquery-animate-enhanced

Extend $.animate() to detect CSS transitions for Webkit, Mozilla, IE>=10 and Opera and convert animations automatically.
http://playground.benbarnett.net/jquery-animate-enhanced/
MIT License
1.39k stars 196 forks source link

Use originalAnimateMethod if a step callback function is provided. #129

Closed lehni closed 11 years ago

lehni commented 11 years ago

If a step callback function is provided along with the call to animate(), the originalAnimateMethod should be used instead, since step would otherwise not be called.

lehni commented 11 years ago

@benbarnett Is there any chance to get this merged? It's a simple change, should be easy to review. Thanks!

benbarnett commented 11 years ago

@lehni yep, will merge now. Looks good - thanks!

lehni commented 11 years ago

Thanks!