Skip to content

Instantly share code, notes, and snippets.

@theprogrammerin
Created March 13, 2014 06:46
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save theprogrammerin/9522961 to your computer and use it in GitHub Desktop.
Save theprogrammerin/9522961 to your computer and use it in GitHub Desktop.
Load Jquery & Underscore via console
function loadDev(){
var jq = document.createElement("script");
jq.setAttribute("src","http://code.jquery.com/jquery-2.1.0.js")
document.head.appendChild(jq);
var us = document.createElement("script");
us.setAttribute("src","http://underscorejs.org/underscore.js")
document.head.appendChild(us);
console.log("Loaded Jquery and Underscore")
}
loadDev()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment