stats-web: Better delimiter
This commit is contained in:
parent
469a350223
commit
f68d47d7fc
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@
|
|||
userFreq[user].sort();
|
||||
}
|
||||
|
||||
function formatwords(n){return userFreq[n]?userFreq[n].slice(0,3).map(function(i){return i[0]}).join(", "):""}
|
||||
function formatwords(n){return userFreq[n]?userFreq[n].slice(0,3).map(function(i){return i[0]}).join(" "):""}
|
||||
function percent(a){return Math.round(a/stats.TotalCount*1e4)/1e2}
|
||||
function nick(a){return users[a]?users[a]+" <i>("+a+")</i>":a}
|
||||
function enrich(a){return [nick(a[0]), a[1], percent(a[1]), formatwords(a[0])]}
|
||||
|
|
Reference in a new issue