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

Safeguard IE against console.log #1318

Merged
merged 1 commit into from
Feb 19, 2015
Merged

Conversation

freethejazz
Copy link
Contributor

Shielding a reference to window.console.log. Fixes the ability to use this page in IE without the inspector open. Fixes #1209.

@maksimr
Copy link
Contributor

maksimr commented Feb 18, 2015

@freethejazz Thanks.

Change commit message following commit message convention

Shield a reference to `window.console.log` with a simple if statement.
Fix the ability to use this page in IE without the inspector open. This
 was particularly an issue for developers running karma from within a
Microsoft-based IDE. The log message will just be swallowed on
environments that don't support `window.console`.

Closes karma-runner#1209
@freethejazz
Copy link
Contributor Author

Sorry about that @maksimr. That commit message is fixed and I've just signed the CLA. Do you want me to close this PR and resubmit one with an appropriately named branch?

@maksimr
Copy link
Contributor

maksimr commented Feb 18, 2015

Do you want me to close this PR and resubmit one with an appropriately named branch?

No, change commit message is enough. Thanks!

@freethejazz
Copy link
Contributor Author

Hmm, looks the build failed when run on node 0.8 but passed for 0.10. Do you see that often?

@maksimr
Copy link
Contributor

maksimr commented Feb 18, 2015

@freethejazz I didn't see it before, seems it's random error(which should be fixed).
I restart you PR build.

@freethejazz
Copy link
Contributor Author

Looks like you were right, thanks for restarting.

@maksimr
Copy link
Contributor

maksimr commented Feb 18, 2015

#merge

@freethejazz
Copy link
Contributor Author

@maksimr I'm totally new to this process, but shouldn't the karmarunnerbot have picked up on this by now?

@maksimr
Copy link
Contributor

maksimr commented Feb 19, 2015

@freethejazz yup

maksimr added a commit that referenced this pull request Feb 19, 2015
Safeguard IE against console.log
@maksimr maksimr merged commit f723f7a into karma-runner:master Feb 19, 2015
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.

Bare reference to window.console in IE
2 participants