CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 10: | Line 10: | ||
<!-- >>>>> Scripts <<<<< --> | <!-- >>>>> Scripts <<<<< --> | ||
+ | <script> | ||
+ | function supportsImports() { | ||
+ | return 'import' in document.createElement('link'); | ||
+ | } | ||
+ | if (supportsImports()) { | ||
+ | alert('Good to go!') | ||
+ | } else { | ||
+ | alert('Use other libraries/require systems to load files') | ||
+ | } | ||
+ | </script> | ||
<!-- Call Jquery --> | <!-- Call Jquery --> | ||
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> | <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> |
Revision as of 12:36, 29 August 2017