summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-27 10:10:57 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-27 10:10:57 +0100
commitd40d2dd6a03fcc556aa75f0c2a714859ada9c6ef (patch)
tree2b713e60c75aac37cf83c68e0b661b577fa0fb32
parent6d5a515c1d35f77be519b4b5d42b29f5f83d5078 (diff)
downloadsnap-yow-d40d2dd6a03fcc556aa75f0c2a714859ada9c6ef.tar.gz
snap-yow-d40d2dd6a03fcc556aa75f0c2a714859ada9c6ef.zip
remove debug code
-rw-r--r--threads.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/threads.js b/threads.js
index 4aaf7b5..dc0286a 100644
--- a/threads.js
+++ b/threads.js
@@ -2468,9 +2468,7 @@ Process.prototype.reportTouchingColor = function (aColor) {
color = aColor.toString(),
stage, sprites;
- console.log('color', color);
if (thisObj) {
- console.log(thisObj.parts.length);
return thisObj.parts.concat([thisObj]).some(
function (any) {
// check if a sprite is inside a polygon colored 'aColor'
@@ -2479,9 +2477,7 @@ Process.prototype.reportTouchingColor = function (aColor) {
[any.xPosition(), any.yPosition()],
window.penShapes);
for (var j = 0; j < matches.length; j++) {
- console.log('match color', matches[j].options.color);
if (matches[j].options.color == color) {
- console.log('Hoooray!');
return true;
}
}