Simple Pulse Animation with jQuery

The simplest way that I could think of to implement a “pulse” effect in jQuery. I know there are plugins that will do this. Not sure that any of them will do it in 12 lines of code.

Could not embed GitHub Gist 2502006: Not Found

I use it to animate an HTML5 drag-and-drop target, wired up to the dragenter event like this:

Update: demo at