Are there any adverse side effects to loading html5shiv in every browser?

Posted by Jeff on Pro Webmasters See other posts from Pro Webmasters or by Jeff
Published on 2012-10-05T14:47:14Z Indexed on 2012/10/05 15:54 UTC
Read the original article Hit count: 224

Filed under:
|
|

On the html5shiv Google Code page the example usage includes an IE conditional:

<!--[if lt IE 9]>
    <script src="dist/html5shiv.js"></script>
<![endif]-->

However on the html5shiv github page, the description explains:

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer, as well as default HTML5 styling in Internet Explorer 6 - 9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.

An obvious contradiction. So to satisfy my curiosity, for anyone who has studied the code, are there any adverse side affects to loading html5shiv in every browser (without the IE conditional)?

EDIT: My goal, obviously, is to use the shiv without the IE conditional.

© Pro Webmasters or respective owner

Related posts about JavaScript

Related posts about html5