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:
ad3513b
)
Break some long lines.
author
Mike Taylor
<mike@indexdata.com>
Thu, 27 Mar 2014 17:08:08 +0000
(17:08 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 27 Mar 2014 17:08:08 +0000
(17:08 +0000)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
7490999
..
c26ab04
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-47,9
+47,9
@@
function team($, teamName) {
function log(s) {
var now = $.now();
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;
m_logTime.last = now;
-
mkws.log(m_teamName + ": " + timestamp + s);
}
that.log = log;
mkws.log(m_teamName + ": " + timestamp + s);
}
that.log = log;
@@
-288,7
+288,8
@@
function team($, teamName) {
params.limit = pp2limit;
}
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
// 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);
{
var template = loadTemplate("Record");
var details = template(data);
- return '<div class="details mkwsTeam_' + m_teamName + '" id="' + recordDetailsId(data.recid[0]) + '">' + details + '</div>';
+ return '<div class="details mkwsTeam_' + m_teamName + '" ' +
+ 'id="' + recordDetailsId(data.recid[0]) + '">' + details + '</div>';
}
that.renderDetails = renderDetails;
}
that.renderDetails = renderDetails;