jaz303/jquery-grab-bag — pull request #10 by pwfisher (2012-04-16 08:07:24+00:00)
Title: Bugfixes and suggested enhancements from my customized version of your file.

Bugfixes:

1. Account for font weight.
2. Fix width calculation.
3. Exactly calculate extra height required to prevent flickering.

Enhancements (keep whatever you like):

4. Support fluid width (update on window resize).
5. Make extra height for flicker prevention optional (via class "autogrow-short").
6. Use closure to retain object reference instead of using Function.apply to set context. This is simpler and more efficient because it eliminates $(this) in update().
7. Move return statement to make code shorter.