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:
4e1cf7a
)
Downgrade warn() calls to debug()
author
Mike Taylor
<mike@indexdata.com>
Fri, 26 Jun 2015 17:30:12 +0000
(18:30 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 26 Jun 2015 17:30:12 +0000
(18:30 +0100)
src/mkws-handlebars.js
patch
|
blob
|
history
diff --git
a/src/mkws-handlebars.js
b/src/mkws-handlebars.js
index
3e8ee6d
..
3a59e9c
100644
(file)
--- a/
src/mkws-handlebars.js
+++ b/
src/mkws-handlebars.js
@@
-86,10
+86,10
@@
Handlebars.registerHelper('mkws-best-url', function(items) {
for (var i in items) {
var item = items[i]
if (item.match(_urlRegexp)) {
- mkws.warn("'" + item + "' *is* a URL");
+ mkws.debug("'" + item + "' *is* a URL");
return item;
}
- mkws.warn("'" + item + "' is not a URL");
+ mkws.debug("'" + item + "' is not a URL");
}
return "";
});