是否可以从CDN托管html5shiv和response.js,还是必须在本地调用它们?
当前,我已经在本地集成了cdn和selectivizr的html5shiv和response.js,我可以将所有内容保持原样,或者必须将它们托管在本地^
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<script src="js/selectivizr-min.js"></script>
<![endif]-->
答案 0 :(得分:0)
我只是想知道html5shiv和response.js是否由CDN托管而没有任何问题