Created
June 17, 2015 22:43
-
-
Save hyeomans/cc8b88a53fe3e7c24792 to your computer and use it in GitHub Desktop.
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
var logs=document.getElementById('logs'); | |
function logIt(msg){ | |
var e=document.createElement('div'); | |
e.innerHTML=msg; | |
logs.insertBefore(e,logs.firstChild); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment