Commit b05294a4fda9b4144ba8446e80a727b175dfdcfe
make linter happy
Piet Geursen committed on 3/6/2018, 11:04:13 PMParent: b14ae17f8400040245944915070fb84b51d866d1
Files changed
position/sync/chooseOneResults.js | changed |
position/sync/chooseOneResults.js | ||
---|---|---|
@@ -1,17 +1,17 @@ | ||
1 | 1 | var isArray = require('isarray') |
2 | 2 | var Position = require('../../position/sync/position') |
3 | 3 | |
4 | -//Expects `poll` and `position` objects passed in to be of shape: | |
5 | -//{ | |
4 | +// Expects `poll` and `position` objects passed in to be of shape: | |
5 | +// { | |
6 | 6 | // value: { |
7 | 7 | // content: {...}, |
8 | 8 | // timestamp: ... |
9 | 9 | // author: ... |
10 | 10 | // } |
11 | -//} | |
11 | +// } | |
12 | 12 | // |
13 | -//postions must be of the correct type ie: type checked by the caller. | |
13 | +// postions must be of the correct type ie: type checked by the caller. | |
14 | 14 | module.exports = function ({positions, poll}) { |
15 | 15 | return positions.reduce(function (results, position) { |
16 | 16 | var { positionDetails: {choice} } = Position(position) |
17 | 17 |
Built with git-ssb-web