Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from nickwong/patch-1

Update README.md
  • Loading branch information...
commit e4db2b360e9da9edadbda571097c767121b25c38 2 parents ef54436 + 7f76679
palmtoy authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -29,7 +29,8 @@ var updateUser = function(dbclient,val) {
var dbclient = {};//db connection etc;
var id = 10001;
var optKey = 'updateUser';
-var mapping = {optKey:updateUer}; //key function mapping
+var mapping = {}; //key function mapping
+mapping[optKey]=updateUser;
opt.mapping = mapping;
opt.client = dbclient;
opt.interval = 2000;
Please sign in to comment.
Something went wrong with that request. Please try again.