michael/proper — pull request #16 by alexblack (2012-04-12 20:50:18+00:00)
Title: Fixes for IE8, new options, methods

Hi, proper.js is awesome, nice work!

1. I hit a few problems testing in IE8, .map and .filter are not native methods, so I modified the code to use map and filter from underscore.js.

2. I added an option called startEmpty, because I wanted the activate the control so that the placeholder text showed up, and the tools, but not to set focus.

3. I added a method called contentStripped, which returns the stripped version of the content, so it can be validated for length for example.

I hope you can accept this pull request, let me know!

thx

- Alex