Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Update javascript doc to allow Array methods #26856

Merged
merged 3 commits into from
Aug 28, 2018

Conversation

sirbrillig
Copy link
Member

Since, as of #25419, methods like Array.includes() are now able to be used safely in Calypso, this updates the documentation to explain that.

@matticbot
Copy link
Contributor

Since methods like `Array.includes()` are now able to be used safely in Calypso, this updates the documentation to explain that.
@sirbrillig sirbrillig force-pushed the update/js-array-methods-polyfill-doc branch from 59937f8 to 0f463fd Compare August 23, 2018 21:47
@sirbrillig sirbrillig requested a review from gwwar August 23, 2018 21:48
@gwwar gwwar added Documentation [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Aug 23, 2018
Copy link
Contributor

@gwwar gwwar left a comment

Choose a reason for hiding this comment

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

Thanks for updating documentation. This reads well, but we could maybe lessen the weight of the link a bit for the reader. Folks probably don't care as much about the historical context. For example:

Calypso [now](https://github.com/Automattic/wp-calypso/pull/25419) includes polyfills for many more Array prototype methods added in ES2015 and beyond ....

@sirbrillig
Copy link
Member Author

Good point @gwwar.

@gwwar gwwar added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Aug 24, 2018
@sirbrillig sirbrillig merged commit 5628148 into master Aug 28, 2018
@sirbrillig sirbrillig deleted the update/js-array-methods-polyfill-doc branch August 28, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants