kayahr/console-shim — pull request #3 by dmp42 (2012-08-05 18:49:28+00:00)
Title: Fix strict mode failure + fix .bind not defined in IE7

Strict mode doesn't allow defining named functions out of global scope or top block of functions.
Assigning wrap as an anonymous function fixes this.

Also, wrap.bind obviously is not defined in IE7 (and other browsers not support Function.prototype.bind).
Changing the way the methods are wrapped fixes this.