Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Meck committed Jul 14, 2010
1 parent 62ab503 commit 5ea4b6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,17 +20,21 @@ include on your server
### Synchronizer.prototype.sync(callback/*(err)*/)

* client:

save(...) with all server connections

* server:

broadcast doc to all clients

### Synchronizer.prototype.save(doc_or_stream,callback/*(err)*/)

* client:

update the server to contain this text

* server:

set the doc to the document or stream provided and broadcast results

### Synchronizer.prototype.get(callback/*(err,doc)*/)
Expand Down

0 comments on commit 5ea4b6d

Please sign in to comment.