Add tweet

PHOTO EMBED

Sun May 30 2021 01:34:51 GMT+0000 (UTC)

Saved by @ejiwen

var addTweets =  function(){
  var index = streams.home.length - 1;
  while(index >= 0){
    var tweet = streams.home[index];
    var $tweet = $('<div class="tweet"></div>');
    $tweet.text('@' + tweet.user + ': ' + tweet.message);
    $tweet.appendTo('#feed');
    index -= 1;
  }
  }
content_copyCOPY