Skip to content

Commit

Permalink
lol - damn
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrik42 committed Jul 11, 2011
1 parent 1ee83e9 commit c3b6929
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -24,7 +24,9 @@ var pusher = new Pusher({

var channel = pusher.channel('sync');

channel.trigger('message', function(err, request, response) {
var data = { name: "Joe", message_count: 23 };

channel.trigger('message', data, function(err, request, response) {
// do something (this callback is optional)
});

Expand Down

0 comments on commit c3b6929

Please sign in to comment.