Mercurial > hg > rlgwebd
comparison rlgwebd.js @ 43:c4efc7522e7b
rlgwebd.js: remove some debugging.
Remove some residual debugging lines.
| author | John "Elwin" Edwards <elwin@sdf.org> |
|---|---|
| date | Sat, 09 Jun 2012 13:04:46 -0700 |
| parents | 8f6bc0df58fa |
| children | 27b7f0c8b9f0 |
comparison
equal
deleted
inserted
replaced
| 42:8f6bc0df58fa | 43:c4efc7522e7b |
|---|---|
| 260 }); | 260 }); |
| 261 } | 261 } |
| 262 | 262 |
| 263 function playerstatus(user, callback) { | 263 function playerstatus(user, callback) { |
| 264 var sdata = {}; | 264 var sdata = {}; |
| 265 tslog("Starting (user %s)", user); | |
| 266 function finishp() { | 265 function finishp() { |
| 267 for (var gname in games) { | 266 for (var gname in games) { |
| 268 if (!(gname in sdata)) | 267 if (!(gname in sdata)) |
| 269 return; | 268 return; |
| 270 } | 269 } |
| 271 tslog("Finished: %s", JSON.stringify(sdata)); | |
| 272 callback(sdata); | 270 callback(sdata); |
| 273 } | 271 } |
| 274 function regsaved(exists, game) { | 272 function regsaved(exists, game) { |
| 275 if (exists) | 273 if (exists) |
| 276 sdata[game.uname] = "s"; | 274 sdata[game.uname] = "s"; |
