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

Improve polygon and line documentation. #824

Merged
merged 5 commits into from
May 29, 2018
Merged

Conversation

manthey
Copy link
Contributor

@manthey manthey commented May 23, 2018

This should make it clearer what the position, line, and polygon accessors do. It also explicitly defines a polygon data type.

manthey added 2 commits May 23, 2018 13:57
This should make it clearer what the position, line, and polygon
accessors do.  It also explicitly defines a polygon data type.
This change is the result of running
```
sed -i $'s/^ \* @Class / * @Class\\n * @alias /g' `git grep -l '^ \* @Class '`
```
* @param {object|function} [val] If specified, use this for the line
* accessor and return the feature. If not specified, return the current
* line. If a function, this is passed `(dataElement, dataIndex)` and
* returns an array of vertex elements.
Copy link
Member

Choose a reason for hiding this comment

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

returns or return? above the sentences read return.

Copy link
Member

Choose a reason for hiding this comment

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

Is there a possibility that this sentence could be improved further (and the ones below)?

@manthey manthey force-pushed the polygon-and-line-docs branch from 521d317 to d715877 Compare May 29, 2018 13:14
Copy link
Member

@aashish24 aashish24 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 consideration.

@manthey manthey merged commit 5a4006f into master May 29, 2018
@manthey manthey deleted the polygon-and-line-docs branch May 29, 2018 19:57
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.

2 participants