Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Commit

Permalink
Remove debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi committed Mar 10, 2011
1 parent 936898a commit 2da6a76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cramp/sse_server.ru
Expand Up @@ -20,8 +20,6 @@ class LiveEvents < Cramp::Action

def latest
@latest_id = BSON.ObjectId(params[:since_id]) if @latest_id.nil?
puts @latest_id
puts params[:following_ids]
new_activities = Activity.where(:_id.gt => @latest_id).
any_in(:publisher_ids => params[:following_ids].split(',')).
desc(:_id)
Expand Down
1 change: 0 additions & 1 deletion public/javascripts/application.js
Expand Up @@ -153,7 +153,6 @@ backfillStream = function(mostRecentActivity) {
var source = new EventSource('/live?following_ids=' + followingIds + '&since_id=' + lastId);
source.onmessage = function(event) {
var activities = $.parseJSON(event.data);
console.log(activities);
addToStream(activities.reverse());
};
}, 500);
Expand Down

0 comments on commit 2da6a76

Please sign in to comment.