Commit ebd8581d6cea19558023b851fbdf599a5044b446
typo
Dominic Tarr committed on 11/29/2016, 2:25:55 PMParent: 9060926fc8d0a4acaadba88858dfaefc5a8e1d16
Files changed
indexes/last.js | changed |
indexes/last.js | ||
---|---|---|
@@ -15,9 +15,9 @@ | ||
15 | 15 … | |
16 | 16 … | module.exports = function () { |
17 | 17 … | |
18 | 18 … | //TODO: rewrite as a flumeview-reduce |
19 | - var createIndex = Reduce(1, sfunction (acc, data) { | |
19 … | + var createIndex = Reduce(1, function (acc, data) { | |
20 | 20 … | if(!acc) acc = {} |
21 | 21 … | acc[data.value.author] = {id: data.key, sequence: data.value.sequence, ts: data.value.timestamp} |
22 | 22 … | return acc |
23 | 23 … | }) |
Built with git-ssb-web