Commit 1e933ab63d7c182250e5e708bcf30b1b752205aa
Add note about ugly code
Piet Geursen committed on 6/6/2018, 1:56:12 AMParent: 048321cc6c9ebaeaf4431e5123f1c9afcfbecb6f
Files changed
poll/obs/get.js | changed |
poll/obs/get.js | ||
---|---|---|
@@ -23,9 +23,9 @@ | ||
23 | 23 | const time = times.pop() |
24 | 24 | return time ? time.value.content.closesAt : '' |
25 | 25 | }) |
26 | 26 | |
27 | - // TODO; what do here? | |
27 | + // This is ugly, would all be done by pollDoc. Refactor in the future. | |
28 | 28 | const pollObs = Value({}) |
29 | 29 | |
30 | 30 | const results = computed(sortedPositions, (positions) => { |
31 | 31 | const resultsErrors = buildResults({ poll: resolve(pollObs), positions }) |
Built with git-ssb-web