Permalink
Browse files

update docs

  • Loading branch information...
ericz committed Feb 7, 2013
1 parent 20b2425 commit e85dca555b3d8e328eb9bab0c6827718515ba798
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/api.md
View
@@ -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

0 comments on commit e85dca5

Please sign in to comment.