Permalink
Browse files

fixed some typos

  • Loading branch information...
elbart committed Mar 12, 2011
1 parent d22ea8b commit 4842c6eca389a05367514edc623b1c4ec85bb9fc
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -25,7 +25,7 @@ They have sensible defaults.
var client = new memcache.Client(port, host);
client.port = 11211;
- client.host = 'loalhost';
+ client.host = 'localhost';
The Client object emits 4 important events - connect, close, timeout and error.
@@ -41,7 +41,7 @@ The Client object emits 4 important events - connect, close, timeout and error.
// no arguments - socket timed out
});
- client.on('error' function(e){
+ client.on('error', function(e){
// there was an error - exception is 1st argument
});

0 comments on commit 4842c6e

Please sign in to comment.