rosamez/jquery.forEach — pull request #1 by Krinkle (2012-03-19 11:37:09+00:00)
Title: code clean up

- typeof is not a function, typeof"()" is redundant (just as they are redundant in `var x = ('foo');`)
- missing semi-colon
- declaring log() with fallback centrally instead of repeating logic
- using log() instead of alert() to avoid breakage in browsers when this actually happends (user need not know about this)
- using !== instead of !(..===)
- using `$.fn.forEach = ..;` instead of `$.fn.extend({ forEach: ..});`
- passing JSHint