From: Mike Taylor Date: Fri, 26 Jun 2015 17:30:12 +0000 (+0100) Subject: Downgrade warn() calls to debug() X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=35a76bb14959296357216c4166b7d6a1f3bf33e5;p=mkws-moved-to-github.git Downgrade warn() calls to debug() --- diff --git a/src/mkws-handlebars.js b/src/mkws-handlebars.js index 3e8ee6d..3a59e9c 100644 --- 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 ""; });