call4paperz/call4paperz

View on GitHub
app/assets/javascripts/call4paperz.js

Summary

Maintainability
A
0 mins
Test Coverage
$(document).ready(function(){
    removeLoggedDiv();
});

function removeLoggedDiv(){
  setTimeout(function(){
    $('.notice').fadeOut('slow');
  }, 5000);
}

C4P = function() {}
C4P.Twitter = function() {
  var twitter = {
    loadLast: function(path) {
      $.getJSON(path, function(response) {
        $("#twitter_status").text(response.text)
        $(".twitter_status_date").text(response.created_at)
      })
    }
  }

  return twitter
}