Michelle Bu il y a 11 ans
Parent
commit
5ace48f9e0
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -60,14 +60,14 @@ var server = new PeerServer({
 The `'connection'` event is emitted when a peer connects to the server.
 
 ```javascript
-PeerServer#on('connection', function(id) { ... })
+server.on('connection', function(id) { ... })
 ```
 
 The `'disconnect'` event is emitted when a peer disconnects from the server or
 when the peer can no longer be reached.
 
 ```javascript
-PeerServer#on('disconnect', function(id) { ... })
+server.on('disconnect', function(id) { ... })
 ```
 
 ## Problems?