Created
December 18, 2011 03:35
-
-
Save viktorkelemen/1492280 to your computer and use it in GitHub Desktop.
Loading CDN hosted jQuery with local fallback
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
| <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