From ecc530de82e4673021952e2654eada9b585afd58 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Fri, 9 Sep 2016 18:25:43 +1000 Subject: [PATCH] Removed constant log messages. --- cat.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cat.html b/cat.html index 9f38ad7..4912e4f 100644 --- a/cat.html +++ b/cat.html @@ -1911,7 +1911,7 @@ var game = { ratio = newwid / DEF_GRIDW; -console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio); +//console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio); this.levels[lev].gridsize = DEF_GRIDSIZE / ratio; this.levels[lev].thingsize = DEF_THINGSIZE / ratio; @@ -2894,7 +2894,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio); nstars = game.calcstars(curlevel, score); game.drawstars(ctx, SCREENW / 2, y, TAPBUTTONSIZESTAR, nstars, STARWID_ENDLEV); - console.log("earned " + nstars + " stars"); + //console.log("earned " + nstars + " stars"); } @@ -3076,7 +3076,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio); var total = 0; for (i = 1 ; i < game.levels.length; i++ ) { - console.log("countplayerstars() - lev " + i + " score " + playerdata.getlevscore(i) + " stars " + game.calcstars(i, playerdata.getlevscore(i))); + //console.log("countplayerstars() - lev " + i + " score " + playerdata.getlevscore(i) + " stars " + game.calcstars(i, playerdata.getlevscore(i))); total += game.calcstars(i, playerdata.getlevscore(i)); } return total; @@ -5226,7 +5226,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio); LEVSEL_X + x + GRIDSIZE/2 - nextsize/2, LEVSEL_Y + y + GRIDSIZE/2 - nextsize/2, nextsize,nextsize); } else { - console.log("levle " + (levnum) + " is locked!"); + //console.log("levle " + (levnum) + " is locked!"); }