Created
July 5, 2015 07:20
-
-
Save jessepollak/a7e09812c57507cbb3e7 to your computer and use it in GitHub Desktop.
Load clef.js asynchronously
This file contains 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(d, s, id) { | |
var js, ejs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//clef.io/v3.1/clef.js"; | |
ejs.parentNode.insertBefore(js, ejs); | |
}(document, 'script', 'clef-js')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment