Skip to content

Instantly share code, notes, and snippets.

@gabssnake
Last active December 15, 2015 03:49
Show Gist options
  • Save gabssnake/5196879 to your computer and use it in GitHub Desktop.
Save gabssnake/5196879 to your computer and use it in GitHub Desktop.
jQuery by version from google CDN or local if not available
<!-- scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="jquery-1.7.2.min.js"><\/script>')</script>
<!-- /scripts -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment