michikono/boxfit — pull request #1 by earlPeriscopic (2012-11-02 19:25:16+00:00)
Title: Fixed one error with non-alpha-numeric characters.  Added 3 options.  Updated README

...lement had non-alpha-numeric characters in it. For example calling box fit on

@$(*Y!@#$%

would raise this error : "Uncaught Error: Syntax error, unrecognized expression: ( jquery.js:4267"

Added maxFontSize (needed this several times in my project) and options for setting width/height in the options instead of on the element before hand.

Updated README to account for new settings.