Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing syntax in js example. #16

Merged
merged 1 commit into from

2 participants

@jeffmarshall

open and close-stache were missing from the if (!error)

Jeff Marshall fixing example syntax
open and close-stache were missing from the `if (!error)`
c92ed87
@jhs
Owner

Thanks. I actually prefer that style. It reminds me of C.

@jhs jhs closed this
@jhs jhs reopened this
@jhs jhs merged commit 9476209 into iriscouch:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 12, 2012
  1. fixing example syntax

    Jeff Marshall authored
    open and close-stache were missing from the `if (!error)`
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -11,8 +11,9 @@ This looks much like the [request][req] API.
```javascript
var follow = require('follow');
follow("https://example.iriscouch.com/boogie", function(error, change) {
- if(!error)
+ if(!error) {
console.log("Got change number " + change.seq + ": " + change.id);
+ }
})
```
Something went wrong with that request. Please try again.