Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #11 from lupomontero/master

Changed the order of callback arguments in README file
  • Loading branch information...
commit ee3019177fa19693aaef03d078520d09e143819e 2 parents 773ac5a + d0f9628
Tim Eggert authored May 25, 2011

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

  1. 8  README.md
8  README.md
Source Rendered
@@ -47,7 +47,7 @@ The Client object emits 4 important events - connect, close, timeout and error.
47 47
 
48 48
 After connecting, you can start to make requests.
49 49
 
50  
-	client.get('key', function(result, error){
  50
+	client.get('key', function(error, result){
51 51
 
52 52
 		// all of the callbacks have two arguments.
53 53
 		// 'result' may contain things which aren't great, but
@@ -55,19 +55,19 @@ After connecting, you can start to make requests.
55 55
 
56 56
 	});
57 57
 
58  
-	client.set('key', 'value', function(result, error){
  58
+	client.set('key', 'value', function(error, result){
59 59
 
60 60
 		// lifetime is optional. the default is
61 61
 		// to never expire (0)
62 62
 
63 63
 	}, lifetime);
64 64
 
65  
-	client.delete('key', function(result, error){
  65
+	client.delete('key', function(error, result){
66 66
 
67 67
 		// delete a key from cache.
68 68
 	});
69 69
 
70  
-	client.version(function(result, error)){
  70
+	client.version(function(error, result)){
71 71
 
72 72
 		// grab the server version
73 73
 	});

0 notes on commit ee30191

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