Skip to content

Commit

Permalink
Merge pull request #11 from HardDiskD/patch-1
Browse files Browse the repository at this point in the history
Corrects the client triggering example.
  • Loading branch information
iurisilvio committed May 8, 2015
2 parents 8432688 + d8ec62e commit 14d4f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ client = pusher.client
In both cases, it is a reference to the pusher client.

```
client[channel_name].trigger('event', {
client.trigger('channel_name', 'event', {
'message': msg,
})
```
Expand Down

0 comments on commit 14d4f51

Please sign in to comment.