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

Fallback for unsupported browsers #21

Closed
Acen opened this issue Jul 11, 2013 · 1 comment
Closed

Fallback for unsupported browsers #21

Acen opened this issue Jul 11, 2013 · 1 comment

Comments

@Acen
Copy link

Acen commented Jul 11, 2013

Doesn't come up with anything in unsupported browsers.

Perhaps still allowing non-formatted versions of the errors to still be shown. Some sort of graceful degradation maybe.

@adamschwartz
Copy link
Owner

In non-supported browsers, the fallback is you see the extra syntax. So for example, you would see _italic_ instead of italic.

Unfortunately, at the moment, it's not possible to detect CSS support for console.log in any browser. So the approach we've taken is to do some specific browser version testing to make this work. Not great, we know. But since log is meant as a development tool (with some safety, since if you accidentally committed log('_foo_') you wouldn't break any pages), we're OK with this until a feature test is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants