tweetcast/client/js/connect-gevent.js
changeset 535 8276f3ff7a3f
parent 534 0a2505c3b547
child 536 5dd170a735e9
--- a/tweetcast/client/js/connect-gevent.js	Mon Mar 05 18:41:11 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-function connectTweets() {
-    $.getJSON('http://' + document.location.hostname + ':8888/?callback=?', function(data) {
-        loadTweets(data.tweets)
-    } );
-    
-    setInterval(function() {
-        if (!twCx.tweets) {
-            return;
-        }
-        $.getJSON('http://' + document.location.hostname + ':8888/?after_id=' + twCx.tweets[twCx.tweets.length - 1].id + '&callback=?', function(data) {
-            loadTweets(data.tweets, true);
-        });
-    }, 1000)
-}
\ No newline at end of file