usablica/progress.js — pull request #8 by ConnorKrammer (2014-04-05 22:47:21+00:00)
Title: Make the character-limited textarea more intuitive

This solves the problem raised in issue #5. Namely, it:

* Prevents input from exceeding the textarea limit when holding down a key
* Prevents pasting text that would exceed the textarea limit
* Updates the progress bar even when holding down a key

The solution is cross-browser, though very old browsers might not work with it.

Review welcome.