Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Rename server to nano
Browse files Browse the repository at this point in the history
All other variables to `require('nano')('http://localhost:5984')` are `nano`.
Doesn't make sense to call it `server`.
  • Loading branch information
shurane committed Feb 23, 2014
1 parent 0f980a5 commit 289ac5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -129,8 +129,8 @@ you can also see your document in [futon](http://localhost:5984/_utils).
configuring nano to use your database server is as simple as:

``` js
var server = require('nano')('http://localhost:5984')
, db = server.use('foo')
var nano = require('nano')('http://localhost:5984')
, db = nano.use('foo')
;
```

Expand Down

0 comments on commit 289ac5d

Please sign in to comment.