Skip to content

Instantly share code, notes, and snippets.

@mpslanker
Created May 2, 2014 13:19
Show Gist options
  • Save mpslanker/10008c56fc407d91b66f to your computer and use it in GitHub Desktop.
Save mpslanker/10008c56fc407d91b66f to your computer and use it in GitHub Desktop.
var jq = document.createElement('script');
// You can change the version number (2.1.0) to any version hosted via Google's Hosted Libraries.
// https://developers.google.com/speed/libraries/devguide#jquery
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// After running the above commands you can run the command below if necessary.
jQuery.noConflict();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment