Created
October 31, 2014 16:55
-
-
Save indianburger/d701f5faffa4f497fac8 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/jesobayihu
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script>window.twttr = (function (d, s, id) { | |
var t, js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src= "https://platform.twitter.com/widgets.js"; | |
fjs.parentNode.insertBefore(js, fjs); | |
return window.twttr || (t = { _e: [], ready: function (f) { t._e.push(f) } }); | |
}(document, "script", "twitter-wjs"));</script> | |
<script id="jsbin-javascript"> | |
twttr.ready(function(){ | |
for (var i = 0; i < 100; i++) { | |
var container = document.createElement("div"); | |
document.body.appendChild(container); | |
twttr.widgets.createTweet('266031293945503744', container); | |
} | |
}) | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">twttr.ready(function(){ | |
for (var i = 0; i < 100; i++) { | |
var container = document.createElement("div"); | |
document.body.appendChild(container); | |
twttr.widgets.createTweet('266031293945503744', container); | |
} | |
}) | |
</script></body> | |
</html> |
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
twttr.ready(function(){ | |
for (var i = 0; i < 100; i++) { | |
var container = document.createElement("div"); | |
document.body.appendChild(container); | |
twttr.widgets.createTweet('266031293945503744', container); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment