You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by gl...@apache.org on 2019/03/18 08:30:48 UTC

[couchdb-nano] branch master updated: Readme 📝: typo, missing comma (#140)

This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/master by this push:
     new a6a9bae  Readme 📝: typo, missing comma (#140)
a6a9bae is described below

commit a6a9baea01c5a7b2d363c68f2ed081d618b81e82
Author: fdenzer <10...@users.noreply.github.com>
AuthorDate: Mon Mar 18 09:30:44 2019 +0100

    Readme 📝: typo, missing comma (#140)
    
    * fix typo in readme
    
    rabbit previously written with superfluous, second `t`at the end
    
    * readme: coma was missing in samples
    
    in two examples, there was no coma between
    `find( {fields … `
    and
    `… limit })`
    
    This commit fixed it, as it is invalid JavaScript
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 3f354e3..5044b4f 100644
--- a/README.md
+++ b/README.md
@@ -177,7 +177,7 @@ nano.db.destroy('alice').then((response) => {
 If you run either of these examples (after starting CouchDB) you will see:
 
 ```
-you have inserted a document with an _id of rabbitt.
+you have inserted a document with an _id of rabbit.
 { ok: true,
   id: 'rabbit',
   rev: '1-6e4cb465d49c0368ac3946506d26335d' }
@@ -948,7 +948,7 @@ const q = {
     name: { "$eq": "Brian"},
     age : { "$gt": 25 }
   },
-  fields: [ "name", "age", "tags", "url" ]
+  fields: [ "name", "age", "tags", "url" ],
   limit:50
 };
 alice.find(q).then((doc) => {
@@ -967,7 +967,7 @@ const q = {
     name: { "$eq": "Brian"},
     age : { "$gt": 25 }
   },
-  fields: [ "name", "age", "tags", "url" ]
+  fields: [ "name", "age", "tags", "url" ],
   limit:50
 };
 alice.findAsStream(q).pipe(process.stdout);