Created
May 22, 2016 14:40
-
-
Save Kjaer/09bf7f72eb0f0b34b6edd43e9e300839 to your computer and use it in GitHub Desktop.
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 (w, d, s) { | |
function go() { | |
var js, | |
fjs = d.getElementsByTagName(s)[0], | |
load = function (url, id) { | |
if (d.getElementById(id)) { return; } | |
js = d.createElement(s); | |
js.src = url; | |
js.id = id; | |
fjs.parentNode.insertBefore(js, fjs); | |
}; | |
load('//connect.facebook.net/tr_TR/all.js', 'facebook-jssdk'); | |
} | |
if (w.addEventListener) { w.addEventListener("load", go, false); } | |
else if (w.attachEvent) { w.attachEvent("onload", go); } | |
}(window, document, 'script')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment