Created
June 21, 2013 08:12
-
-
Save tcdevs/5829685 to your computer and use it in GitHub Desktop.
List of all cdn fallbacks
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
<!-- Load JQuery remote or fallback to a local copy --> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script>window.jQuery || document.write("<script src='js/vendor/jquery-1.9.1.min.js'><\/script>")</script> | |
<!-- Load Bootstrap via CDN or fallback to a local copy --> | |
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> | |
<script>$.fn.modal || document.write("<script src='js/vendor/bootstrap.min.js'><\/script>")</script> | |
<!-- Load Angular via CDN or fallback to a local copy --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> | |
<script>window.angular || document.write("<script src='js/vendor/angular.1.0.7.min.js'><\/script>")</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment