Skip to content

Conversation

aiinkiestism
Copy link
Contributor

@aiinkiestism aiinkiestism commented Oct 31, 2021

Fixes #398 .

Changes proposed in this pull request:

  • Move helpers/voting from snapshot into snapshot.js

I also moved getNumberWithOrdinal from snapshot into snapshot.js because it's only imported from voting/rankedChoice.ts

See this PR too

Copy link
Contributor

@samuveth samuveth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@samuveth
Copy link
Contributor

samuveth commented Nov 2, 2021

Can you resolve conflicts @aiinkiestism

Comment on lines 167 to 168
getNumberWithOrdinal,
getProvider,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you export voting classes here too?

Suggested change
getNumberWithOrdinal,
getProvider,
getNumberWithOrdinal,
voting,
getProvider,

@samuveth
Copy link
Contributor

samuveth commented Nov 3, 2021

@aiinkiestism can you fix the build error?

@aiinkiestism
Copy link
Contributor Author

@samuveth
Didn't notice, thanks!
That was a typescript error.

@ChaituVR ChaituVR requested a review from bonustrack November 7, 2021 16:18
@bonustrack
Copy link
Member

Looks good thanks @aiinkiestism !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move helpers/voting from snapshot into snapshot.js
4 participants