Mercurial > hg > nodescore
diff www/m/js/nodescore-client.js @ 39:3ba24da53406
still trying to sort memory leak... js closures will kill me
addedb screenshot
author | tzara <rc-web@kiben.net> |
---|---|
date | Thu, 23 Aug 2012 08:40:55 +0000 |
parents | ea8d61c851c0 |
children | 49c94f63b8b0 |
line wrap: on
line diff
--- a/www/m/js/nodescore-client.js Wed Aug 22 12:51:28 2012 +0000 +++ b/www/m/js/nodescore-client.js Thu Aug 23 08:40:55 2012 +0000 @@ -77,11 +77,11 @@ ///////////////////////////////////////////////// // countdown to change -socket.on("counterText", counterText); -function counterText(groupID, currentseconds,text){ +socket.on("counterText", cText); +function cText(groupID, currentseconds,text){ var groupPage=document.getElementById('group').value if (groupID == groupPage) { - console.log() + console.log(text) $("#totalcountdown").text(text); }}