Created
January 3, 2015 20:19
-
-
Save jonasporto/1531842b09e9d8c8252b 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
function importTagToHead(tag){ | |
var head = document.getElementsByTagName('head')[0]; | |
head.appendChild(tag); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment