-
-
Save callumacrae/1871367 to your computer and use it in GitHub Desktop.
not my solution to deal with IE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if !IE]> | |
<script defer type="text/javascript" src="{T_JQUERY_LINK}"></script> | |
<!-- IF S_JQUERY_FALLBACK --><script defer type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> | |
<![endif]--> | |
<!--[if IE]> | |
<script type="text/javascript" src="{T_JQUERY_LINK}"></script> | |
<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> | |
<![endif]--> | |
<script defer type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js"></script> | |
<script defer type="text/javascript" src="{T_TEMPLATE_PATH}/ajax.js"></script> | |
<!-- the rest of javascript files with the defer. As long as it is same origin all is ok --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment