projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07bf98
)
Remove extraneous debugging from calculation of bestLink and
author
Mike Taylor
<mike@indexdata.com>
Mon, 29 Jun 2015 19:20:14 +0000
(20:20 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 29 Jun 2015 19:20:14 +0000
(20:20 +0100)
otherLinks. Allows us to merge two branches.
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
367ec46
..
e23ce9c
100644
(file)
--- 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);
}
}