Skip to content

Commit

Permalink
Indentation fix in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed May 22, 2012
1 parent 44fc218 commit 4a9be9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ Mongojs can also connect to a mongo replication set

``` js
var db = require('mongojs').connect({
db: 'mydb', // the name of our database
db: 'mydb', // the name of our database
collections: ['mycollection'], // we can pass the collections here also
replSet: {
name: 'myReplSetName', // the name of the replication set
slaveOk: true, // is it ok to read from secondary? defaults to false
name: 'myReplSetName', // the name of the replication set
slaveOk: true, // is it ok to read from secondary? defaults to false
members: ['myserver:myport', 'myotherserver', 'mythirdserver']
}
});
Expand Down

0 comments on commit 4a9be9a

Please sign in to comment.