From f283df9022394d475c784333cc260bc9a8f372ab Mon Sep 17 00:00:00 2001 From: Valera Rozuvan Date: Thu, 3 Jan 2013 16:51:23 +0200 Subject: [PATCH] Cleaning up code. --- .../js/capa/drag_and_drop/config_parser.js | 2 -- .../js/capa/drag_and_drop/draggables.js | 2 -- .../js/capa/drag_and_drop/update_input.js | 19 ++++++------------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/common/static/js/capa/drag_and_drop/config_parser.js b/common/static/js/capa/drag_and_drop/config_parser.js index 6800cb7c97..664324e0b9 100644 --- a/common/static/js/capa/drag_and_drop/config_parser.js +++ b/common/static/js/capa/drag_and_drop/config_parser.js @@ -12,8 +12,6 @@ define(['logme'], function (logme) { returnStatus = true; - logme('imageDir', imageDir); - state.config = { 'imageDir': '/static/' + imageDir + '/images', 'draggables': [], diff --git a/common/static/js/capa/drag_and_drop/draggables.js b/common/static/js/capa/drag_and_drop/draggables.js index c4c5a94ec0..0800ce4c6b 100644 --- a/common/static/js/capa/drag_and_drop/draggables.js +++ b/common/static/js/capa/drag_and_drop/draggables.js @@ -151,8 +151,6 @@ define(['logme', 'update_input'], function (logme, updateInput) { // icon. All the existing code will work, and the user will // see a label instead of an icon. if (obj.label.length > 0) { - logme('We have a label length > 0.'); - draggableObj.iconEl = $( '