Răsfoiți Sursa

update docs

ericz 12 ani în urmă
părinte
comite
e85dca555b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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