Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly check whether console is defined to prevent IE7 from choking ... #10

Merged
merged 1 commit into from
Sep 3, 2014

Conversation

james-west
Copy link
Contributor

...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.

@jonnyreeves
Copy link
Owner

Cheers 👍

jonnyreeves added a commit that referenced this pull request Sep 3, 2014
Explicitly check whether console is defined to prevent IE7 from choking ...
@jonnyreeves jonnyreeves merged commit 527fa6e into jonnyreeves:master Sep 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants