X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fmkws-team.js;h=c26ab041a25abcba5fc7b34ae792496489ae7eff;hb=094982971aed89925c9e8e3f11e49b4cdd9905db;hp=7490999de4bae8ed6e8c47e3db78123d88d62981;hpb=ad3513b39688df357a22801cd81dcad61e0b6743;p=mkws-moved-to-github.git 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;