Browse files

Update README.md

  • Loading branch information...
1 parent c71eb95 commit 7f76679d9a0819225f622f8edb15ee0cb816f55f @nickwong nickwong committed May 27, 2013
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;

0 comments on commit 7f76679

Please sign in to comment.