Skip to content

More browser support for voters.html - #343

Merged
chaosbot merged 4 commits into
Chaosthebot:masterfrom
syvb:master
May 29, 2017
Merged

chaosbot merged 4 commits into
Chaosthebot:masterfrom
syvb:master

Conversation

@syvb

@syvb syvb commented May 28, 2017

Copy link
Copy Markdown
Contributor

Before, this code used Object.values, which is only supported in Chrome and Firefox. This new code works replaces the line by mapping the keys array to the variable with all the data, to get the values for each key, causing the same effect. This is supported in almost all modern browsers, and IE9+.

@PlasmaPower

Copy link
Copy Markdown
Contributor

cautiously upvotes

@yet-another-account

Copy link
Copy Markdown
Contributor

<sarcasm>Any browser with IE in the name cannot be considered modern</sarcasm>

@syvb syvb changed the title More browser support for voters.html More browser support for voters.html WIP bump May 29, 2017
@syvb syvb changed the title More browser support for voters.html WIP bump More browser support for voters.html May 29, 2017
@PlasmaPower

Copy link
Copy Markdown
Contributor

@Smittyvb I think the dynamic voting window would've saved you. If not, you could always just add WIP to the title until you get enough votes.

Comment thread server/voters.html Outdated
return json[key];
});

@PlasmaPower PlasmaPower May 29, 2017 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pro tip: use --allow-empty to create an empty git commit.

Edit: also, no trailing whitespace please.

@syvb syvb changed the title More browser support for voters.html [WIP] More browser support for voters.html May 29, 2017
@o3LL o3LL mentioned this pull request May 29, 2017
3 tasks done
@syvb syvb changed the title [WIP] More browser support for voters.html More browser support for voters.html May 29, 2017
@chaosbot

Copy link
Copy Markdown
Collaborator

🙆‍♀️ PR passed with a vote of 8 for and 0 against, with a weighted total of 7.5 and a threshold of 6.6.

See merge-commit 890729c for more details.

@chaosbot
chaosbot merged commit 890729c into Chaosthebot:master May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants