Skip to content
This repository
Browse code

Merge branch 'patch-1' of https://github.com/jlank/nano

* 'patch-1' of https://github.com/jlank/nano:
  Updated section in README.md pertaining to db.head(doc, [callback]).  The second parameter to this call should be a callback not a parameter object according to the source, line 568.
  • Loading branch information...
commit dfe0c400509c174cf93a6d7f4154cc879e058e29 2 parents c10c6fb + 710d49e
Nuno Job authored June 12, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  README.md
4  README.md
Source Rendered
@@ -316,12 +316,12 @@ alice.get('rabbit', { revs_info: true }, function(err, body) {
316 316
 });
317 317
 ```
318 318
 
319  
-### db.head(docname, [params], [callback])
  319
+### db.head(docname, [callback])
320 320
 
321 321
 same as `get` but lightweight version that returns headers only.
322 322
 
323 323
 ``` js
324  
-alice.head('rabbit', { revs_info: true }, function(err, _, headers) {
  324
+alice.head('rabbit', function(err, _, headers) {
325 325
   if (!err)
326 326
     console.log(headers);
327 327
 });

0 notes on commit dfe0c40

Please sign in to comment.
Something went wrong with that request. Please try again.