-
-
Save dpm566/97d32ce06a4e65dd84f9a1913518e29e to your computer and use it in GitHub Desktop.
Load Jquery & Underscore via console
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
| 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