Commit 23576a5dca023c72b5a92bf3c1f5b35bb4f22744
tidy
Dominic Tarr committed on 5/16/2016, 9:34:26 AMParent: 95e0edd1b9246ddcd3bbfbf732cf9a4007d078de
Files changed
modules/names.js | changed |
modules/names.js | ||
---|---|---|
@@ -26,9 +26,8 @@ | ||
26 | 26 | }} |
27 | 27 | ]}), |
28 | 28 | function (err, names) { |
29 | 29 | if(err) throw err |
30 | - console.log(names) | |
31 | 30 | n.textContent = names.reduce(function (max, item) { |
32 | 31 | return max.count > item.count ? max : item |
33 | 32 | }, {name: id.substring(0, 10), count: 0}).name |
34 | 33 | }) |
@@ -36,4 +35,5 @@ | ||
36 | 35 | return n |
37 | 36 | |
38 | 37 | } |
39 | 38 | |
39 | + |
Built with git-ssb-web