Permalink
Browse files

sync api spec; minor formatting and edits

  • Loading branch information...
1 parent b4d6dcc commit 663d31f086c050188f11448063d4229a2d7870b0 @youurayy committed Mar 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 SyncAPI.md
View
@@ -276,9 +276,9 @@ if(!db.size('users')) {
db.set('user', 'user3', { login: 'user@three' });
db.set('message', db.size('messages') + 1,
- { text: 'hello 1', sender: 'user1', recipients: [ 'user2', 'user3' ]});
+ { text: 'hello 1', sender: 'user1', recipients: [ 'user2', 'user3' ], date: Date.now() });
db.set('message', db.size('messages') + 1,
- { text: 'hello 2', sender: 'user2', recipients: [ 'user1', 'user3' ]});
+ { text: 'hello 2', sender: 'user2', recipients: [ 'user1', 'user3' ], date: Date.now()});
}
console.log('Inbox for user1');

0 comments on commit 663d31f

Please sign in to comment.