Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlb committed Dec 3, 2014
1 parent 40adfe8 commit f6f1bd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ Publishing to channels is trivial:
```javascript
$scope.publish = function() {
PubNub.ngPublish({
channel: $scope.selectedChannel,
message: $scope.newMessage
callback : function(info) { console.log(info) },
channel : $scope.selectedChannel,
message : $scope.newMessage
});
};
```
Expand Down

0 comments on commit f6f1bd7

Please sign in to comment.