Reordered scripts to ensure jQuery is first. Put html5.js within conditional comments so that the additional http request is fired only for those browsers that need the crutch (IE8 and below)

This commit is contained in:
nac26 2011-02-03 14:34:20 +00:00
parent 53483d31c1
commit 66163d24c2

View file

@ -2,11 +2,14 @@
<#-- Template for scripts that must be loaded in the head -->
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
<script type="text/javascript" src="${urls.base}/js/html5.js"></script>
<script type="text/javascript" src="${urls.base}/js/jquery.js"></script>
<script type="text/javascript" src="${urls.base}/js/vitroUtils.js"></script>
<#-- script for enabling new HTML5 semantic markup in IE browsers -->
<!--[if lt IE 9]>
<script type="text/javascript" src="${urls.base}/js/html5.js"></script>
<![endif]-->
${headScripts.tags}
<!--[if lt IE 7]>