Created
June 11, 2013 14:59
-
-
Save colorful-tones/5757576 to your computer and use it in GitHub Desktop.
Grab jQuery library from Google's CDN if failed then pull local version
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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment