javascript - Why does HTML5 Boilerplate include HTML5 Shiv in two different ways (google and vendor)? -


i'm curious know why html5 boilerplate includes html5 shiv 2 times. understand first entry, confused second 1 checks for/does. wondering, how come 1 hosted google , other 1 located on local server. meaning of "vendor" folder (as far know stands salesman)?

<!--[if lt ie 9]>    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>    <script>window.html5 || document.write('<script src="js/vendor/html5shiv.js"><\/script>')</script> <![endif]--> 

it first tries shiv google cdn, if fails reason window.html5 undefined , serve file host.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -