IRV icon indicating copy to clipboard operation
IRV copied to clipboard

Comments

Open AbeKline opened this issue 3 years ago • 2 comments

Would be supper cool if I could use comments. I think I can probably put in a PR for instructions and code changes, we'd just need Peter to pick a syntax, ideally -- or //

AbeKline avatar May 24 '21 14:05 AbeKline

Where do you want to put comments? In the Ballots input field? How should they be proccesed?

// would work for me.

PeterTheOne avatar Oct 14 '21 15:10 PeterTheOne

Honestly this was so long ago that I forgot. I think in the ballots field. A bad first pass would be replacing line 12 in irv.js with

ballots[i] = ballots[i].substring(0,(ballots[i].indexOf("//") == -1) ? ballots[i].length : ballots[i].indexOf("//")).replace(/\s+/g, '').split(',');

AbeKline avatar Oct 14 '21 16:10 AbeKline