Skip to content

Commit

Permalink
Update vocho-lib, bump patch version to 1.5.0, port changes from voch…
Browse files Browse the repository at this point in the history
…o-gui 1.3.0
  • Loading branch information
miestasmia committed Aug 15, 2019
1 parent 28b0985 commit 3292299
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vocho-term",
"version": "1.4.1",
"version": "1.5.0",
"description": "",
"main": "src/index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ module.exports = function performElection (electionType, candidatesStr, ballotsS

if (electionType === 'RP') {
if (results.disqualifiedCandidates.length) {
resultsText += `\n\nNeelektitaj laŭ §2.6: ${results.disqualifiedCandidates.join(', ')}\n`;
const disc_cands = results.disqualifiedCandidates.map(c => `${c} (${results.candStats[c].mentions} mencioj)`);
resultsText += `\n\nNeelektitaj laŭ §2.6: ${disc_cands.join(', ')}\n`;
}

const comparedPairsTableData = [[]];
Expand Down

0 comments on commit 3292299

Please sign in to comment.