git ssb

0+

Piet / ssb-loomio



Commit b05294a4fda9b4144ba8446e80a727b175dfdcfe

make linter happy

Piet Geursen committed on 3/6/2018, 11:04:13 PM
Parent: b14ae17f8400040245944915070fb84b51d866d1

Files changed

position/sync/chooseOneResults.jschanged
position/sync/chooseOneResults.jsView
@@ -1,17 +1,17 @@
11 var isArray = require('isarray')
22 var Position = require('../../position/sync/position')
33
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+// {
66 // value: {
77 // content: {...},
88 // timestamp: ...
99 // author: ...
1010 // }
11-//}
11+// }
1212 //
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.
1414 module.exports = function ({positions, poll}) {
1515 return positions.reduce(function (results, position) {
1616 var { positionDetails: {choice} } = Position(position)
1717

Built with git-ssb-web