From f723d4bbaf04e8bbb2b644321114102ab72bf7f7 Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Thu, 6 Sep 2012 00:45:49 +0200 Subject: [PATCH] Removed debugging logs from event callbacks. --- js/piskel.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/piskel.js b/js/piskel.js index 6076dfb7..2cad41ae 100644 --- a/js/piskel.js +++ b/js/piskel.js @@ -191,7 +191,6 @@ $.namespace("pskl"); }, onMousedown : function (event) { - console.log("onMousedown"); isClicked = true; if(event.button == 2) { // right click @@ -210,7 +209,6 @@ $.namespace("pskl"); }, onMousemove : function (event) { - console.log("onMousemove"); var currentTime = new Date().getTime(); // Throttling of the mousemove event: if ((currentTime - previousMousemoveTime) > 40 ) { @@ -233,7 +231,6 @@ $.namespace("pskl"); }, onMouseup : function (event) { - console.log("onMouseup"); if(isClicked || isRightClicked) { // A mouse button was clicked on the drawing canvas before this mouseup event, // the user was probably drawing on the canvas.