craigmdennis / animateCSS

jQuery plugin to dynamically apply animate.css animations
MIT License
153 stars 47 forks source link

fix a bug when delay is 0 #4

Closed SimpleZn closed 10 years ago

SimpleZn commented 10 years ago

When delay is 0, !delay is true and callback will be 0.

craigmdennis commented 10 years ago

You should never need to set the delay to 0. You should just call the callback.