From cdfa1b520a17111fb6f3a1e9349ae1afeb34cba5 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Sun, 30 Jun 2013 08:48:01 +0100 Subject: [PATCH] Whitespace only: towards consistency in my_onterm() --- experiments/spclient/mkws.js | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index b29be6d..1e2546f 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -167,17 +167,22 @@ function my_onterm(data) { termlists.push('
'); termlists.push('
' + M('Sources') + '
'); for (var i = 0; i < data.xtargets.length && i < SourceMax; i++ ) { - termlists.push('' + data.xtargets[i].name - + ' (' + data.xtargets[i].freq + ')
'); + termlists.push('' + + data.xtargets[i].name + + ' (' + + data.xtargets[i].freq + + ')
'); } termlists.push('
'); termlists.push('
'); termlists.push('
' + M('Subjects') + '
'); for (var i = 0; i < data.subject.length && i < SubjectMax; i++ ) { - termlists.push('' + data.subject[i].name + ' (' - + data.subject[i].freq + ')
'); + termlists.push('' + + data.subject[i].name + + ' (' + + data.subject[i].freq + + ')
'); } termlists.push('
'); @@ -185,10 +190,10 @@ function my_onterm(data) { termlists.push('
' + M('Authors') + '
'); for (var i = 0; i < data.author.length && i < AuthorMax; i++ ) { termlists.push('' - + data.author[i].name - + ' (' - + data.author[i].freq - + ')
'); + + data.author[i].name + + ' (' + + data.author[i].freq + + ')
'); } termlists.push(''); -- 1.7.10.4