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

Add test to see if HTML shim is needed #6

Open
Tokimon opened this issue May 10, 2016 · 1 comment
Open

Add test to see if HTML shim is needed #6

Tokimon opened this issue May 10, 2016 · 1 comment

Comments

@Tokimon
Copy link
Owner

Tokimon commented May 10, 2016

This has a relevance if the detection is not used with Modernizr.
Generally you can just include the HTML5 shiv from a CDN and don't have to worry about it, but to avoid further HTTP requests i could be interesting to include.
It is a bit dodgy as a test, but I'll leave it in.

@Tokimon
Copy link
Owner Author

Tokimon commented Dec 20, 2016

Should be as simple as 'hidden' in document.createElement('a') (that is how the HTML5Shiv is doing it)

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

1 participant