From: Mike Taylor Date: Thu, 27 Mar 2014 17:08:08 +0000 (+0000) Subject: Break some long lines. X-Git-Tag: 1.0.0~1143 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=094982971aed89925c9e8e3f11e49b4cdd9905db;p=mkws-moved-to-github.git Break some long lines. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 7490999..c26ab04 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -47,9 +47,9 @@ function team($, teamName) { function log(s) { var now = $.now(); - var timestamp = ((now - m_logTime.start)/1000).toFixed(3) + " (+" + ((now - m_logTime.last)/1000).toFixed(3) + ") " + var timestamp = (((now - m_logTime.start)/1000).toFixed(3) + " (+" + + ((now - m_logTime.last)/1000).toFixed(3) + ") "); m_logTime.last = now; - mkws.log(m_teamName + ": " + timestamp + s); } that.log = log; @@ -288,7 +288,8 @@ function team($, teamName) { params.limit = pp2limit; } - log("triggerSearch(" + m_query + "): filters = " + $.toJSON(m_filters) + ", pp2filter = " + pp2filter + ", params = " + $.toJSON(params)); + log("triggerSearch(" + m_query + "): filters = " + $.toJSON(m_filters) + ", " + + "pp2filter = " + pp2filter + ", params = " + $.toJSON(params)); // We can use: params.torusquery = "udb=NAME" // Note: that won't work when running against raw pazpar2 @@ -625,7 +626,8 @@ function team($, teamName) { { var template = loadTemplate("Record"); var details = template(data); - return '
' + details + '
'; + return '
' + details + '
'; } that.renderDetails = renderDetails;