Skip to content

Commit

Permalink
Logs all incoming messages in the extension
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Mar 27, 2012
1 parent db8ba43 commit ef209f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/javascripts/backbone/broadcasters/faye.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ class Kandan.Broadcasters.FayeBroadcaster
auth_token: Kandan.Helpers.Users.current_user().auth_token
}
callback(message)

incoming: (message, callback)->
console.log "incoming", message
callback(message)
}
@faye_client.bind "transport:down", ()->
console.log "Comm link to Cybertron is down!"
Expand Down

0 comments on commit ef209f7

Please sign in to comment.