Last active
December 15, 2015 23:20
-
-
Save christierney402/5339941 to your computer and use it in GitHub Desktop.
JS: Google CDN hosted jQuery Base and jQuery UI with local backup #snippet
This file contains 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
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/overcast/jquery-ui.min.css"> | |
<!--- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline ---> | |
<!--- Load the full jQuery version (ex 1.9.1 not 1.9) so it cached ---> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script> | |
window.jQuery || document.write('<script src="/js/jquery-1.9.1.min.js"><\/script>'); | |
</script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment