jonnyreeves/js-logger — pull request #10 by james-west (2014-09-02 21:55:53+00:00)
Title: Explicitly check whether console is defined to prevent IE7 from choking ...

...on Logger.useDefaults()

When IE7 encounters a reference to an undefined variable, it simply stops evaluating the JavaScript file and excludes it from the page without providing an error message, which prevents any JavaScript file that calls Logger.useDefaults() from being used on IE7. This change makes useDefaults() do nothing without failing when called on IE7.