Permalink
Browse files

Rename `server` to `nano`

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 289ac5dfedc73f275c32213a7160cc6884937127
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -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')
;
```

0 comments on commit 289ac5d

Please sign in to comment.