Permalink
Browse files

Merge pull request #1 from nickwong/patch-1

Update README.md
  • Loading branch information...
2 parents ef54436 + 7f76679 commit e4db2b360e9da9edadbda571097c767121b25c38 palmtoy committed Dec 13, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -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;

0 comments on commit e4db2b3

Please sign in to comment.