Update README.md

Change `cloudant.use` to `nano.use`.

Project: http://git-wip-us.apache.org/repos/asf/couchdb-nano/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-nano/commit/4aac5630
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-nano/tree/4aac5630
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-nano/diff/4aac5630

Branch: refs/heads/master
Commit: 4aac56301bc873856b3c14be9d4c31237500184a
Parents: 3a5a758
Author: Brian Delahunty <[email protected]>
Authored: Tue Feb 9 14:54:39 2016 -0800
Committer: Glynn Bird <[email protected]>
Committed: Wed Oct 26 14:30:47 2016 +0100

----------------------------------------------------------------------
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-nano/blob/4aac5630/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 8ca9dd3..90c10bb 100644
--- a/README.md
+++ b/README.md
@@ -411,7 +411,7 @@ alice.insert({ crazy: true }, 'rabbit', function(err, body) 
{
 The `insert` function can also be used with the method signature 
`db.insert(doc,[callback])`, where the `doc` contains the `_id` field e.g.
 
 ~~~ js
-var alice = cloudant.use('alice')
+var alice = nano.use('alice')
 alice.insert({ _id: 'myid', crazy: true }, function(err, body) {
   if (!err)
     console.log(body)
@@ -421,7 +421,7 @@ alice.insert({ _id: 'myid', crazy: true }, function(err, 
body) {
 and also used to update an existing document, by including the `_rev` token in 
the document being saved:
 
 ~~~ js
-var alice = cloudant.use('alice')
+var alice = nano.use('alice')
 alice.insert({ _id: 'myid', _rev: '1-23202479633c2b380f79507a776743d5', crazy: 
false }, function(err, body) {
   if (!err)
     console.log(body)

Reply via email to