darcyclarke/jQuery-Animate-Auto-Plugin — pull request #1 by azaslavsky (2014-03-19 11:19:25+00:00)
Title: Wrapped animate with this functionality

Basically wrapped this into the native "animate" method, which creates more straightforward readability and allows the animation to be paired with other non-dimensional transforms (ex, positioning or background color) in the same rule list.

Also, upon completion, the callback function is now wrapped such that the height/width is reset back to "auto" rather than its calculated pixel value.