Mercurial > hg > nodescore
diff www/m/js/nodescore-client.js @ 24:22f1c38007ff
latency ping pong check added for clients
author | tzara <rc-web@kiben.net> |
---|---|
date | Wed, 11 Jul 2012 19:44:37 +0100 |
parents | e1a02869da08 |
children | ac9641ecf84f |
line wrap: on
line diff
--- a/www/m/js/nodescore-client.js Wed Jul 11 14:17:43 2012 +0100 +++ b/www/m/js/nodescore-client.js Wed Jul 11 19:44:37 2012 +0100 @@ -57,7 +57,7 @@ function countinClient(groupID, currentseconds,mm,text,colour,background){ var groupPage=document.getElementById('group').value if (groupID == groupPage) { - console.log(currentseconds); + //console.log(currentseconds); document.getElementById("countinnumber").style.visibility="visible"; document.getElementById("countinnumber").style.visibility="visible"; //$("#countin").text(text); @@ -157,7 +157,7 @@ var hcheckWebkitandIE=(e.which==104 ? 1 : 0); var hcheckMoz=(e.which==104 ? 1 : 0); - console.log(e.which); +// console.log(e.which); if (checkWebkitandIE || checkMoz) { toggle_visibility('preview') } if (mcheckWebkitandIE || mcheckMoz) { toggle_visibility('metro') } if (ccheckWebkitandIE || ccheckMoz) { toggle_visibility('client_chronometer') } @@ -182,7 +182,7 @@ }); socket.on("latencyFromServer", function(latency) { $("#client_latency").text("Latency: "+latency+"ms.") - console.log(latency) + //console.log(latency) }); function getLatencies(x) { socket.emit("getLatencies", x); }