From: Mike Taylor Date: Sun, 30 Jun 2013 07:48:01 +0000 (+0100) Subject: Whitespace only: towards consistency in my_onterm() X-Git-Tag: 0.9.1~403 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;ds=sidebyside;h=cdfa1b520a17111fb6f3a1e9349ae1afeb34cba5;p=mkws-moved-to-github.git Whitespace only: towards consistency in my_onterm() --- 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('');