ericz 12 anos atrás
pai
commit
e85dca555b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/api.md

+ 2 - 2
docs/api.md

@@ -1,10 +1,10 @@
 # PeerJS API Reference
 
-## Class: Peer
+## Class: peerjs.Peer
 
 This class is a the BinaryJS websocket server. It is an `EventEmitter`.
 
-### new peerjs.Peer([id], options)
+### new Peer([id], options)
 
 * `id` String. The id by which this peer will be identified when other peers try to connect to it. If no id is given, one will be generated by the server
 * `options` Object