Permalink
Browse files

lol - damn

  • Loading branch information...
1 parent 1ee83e9 commit c3b6929a5377c4ea5a1a36cc9e2ac41eba70776b @fabrik42 fabrik42 committed Jul 11, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
4 README.md
@@ -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)
});

0 comments on commit c3b6929

Please sign in to comment.