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

[DOC] Update documentation for EmberArray.any #18229

Merged
merged 1 commit into from
Oct 26, 2019

Conversation

sukima
Copy link
Contributor

@sukima sukima commented Aug 6, 2019

Prior to this change, the wording was inaccurate. It was describing filtering not the short circuit behaviour of any().

This change attempts to fix that discrepancy and expand on the example to include both context option and arrow function use.

Issue #18228

Copy link
Contributor

@locks locks left a comment

Choose a reason for hiding this comment

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

Left some inline comments.

packages/@ember/-internals/runtime/lib/mixins/array.js Outdated Show resolved Hide resolved
packages/@ember/-internals/runtime/lib/mixins/array.js Outdated Show resolved Hide resolved
packages/@ember/-internals/runtime/lib/mixins/array.js Outdated Show resolved Hide resolved
packages/@ember/-internals/runtime/lib/mixins/array.js Outdated Show resolved Hide resolved
@locks locks mentioned this pull request Aug 6, 2019
38 tasks
@sukima
Copy link
Contributor Author

sukima commented Aug 8, 2019

I am not understanding how a comment change in this file broke Blueprint tests in CI!

@sukima
Copy link
Contributor Author

sukima commented Aug 8, 2019

@locks I reworded everything. see if it is better. I did a little paraphrasing from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some but I think it is different enough to prevent a license issue.

Prior to this change, the wording was inaccurate. It was describing
filtering not the short circuit behaviour of `any()`.

This change attempts to fix that discrepancy and expand on the example
to include both context option and arrow function use.

Issue emberjs#18228
@locks locks self-assigned this Aug 16, 2019
@locks locks changed the title Update documentation for EmberArray.any [DOC] Update documentation for EmberArray.any Sep 1, 2019
@locks locks merged commit 12cfd57 into emberjs:master Oct 26, 2019
@sukima sukima deleted the array-docs-any branch October 28, 2019 15:48
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.

2 participants