From: Mike Taylor Date: Mon, 29 Jun 2015 19:20:14 +0000 (+0100) Subject: Remove extraneous debugging from calculation of bestLink and X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=d19df9e59963d2819fae0af3d94a5a6c498c9165;hp=c07bf9888df059b7aa2a16cb8baea4221242c82d Remove extraneous debugging from calculation of bestLink and otherLinks. Allows us to merge two branches. --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 367ec46..e23ce9c 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -147,13 +147,8 @@ mkws.registerWidgetType('records', function() { var url = urls[j]; that.warn("url #" + (j+1) + " = " + url); if (!bestLink && url.match(/^(https?:)?\/\//)) { - mkws.debug("'" + url + "' *is* a URL"); bestLink = url; - } else if (bestLink) { - mkws.debug("'" + url + "' not tested"); - otherLinks.push(url); } else { - mkws.debug("'" + url + "' is not a URL"); otherLinks.push(url); } }