소스 검색

update docs

ericz 12 년 전
부모
커밋
e85dca555b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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