jquery-textfill/jquery-textfill — pull request #10 by OliverUv (2013-01-21 01:41:56+00:00)
Title: Prevent edge case infinite loop

20 iterations aught to be good enough for anyone :)

Infinite loop happened to many of my users. Since textfill essentially binary searches for the correct height, 20 iterations is enough.

I hereby allow you to do anything with the code provided, though attribution is appreciated.