Skip to content

added Array Extension Methods to the API page #267

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

Merged
merged 2 commits into from
Mar 30, 2016
Merged

added Array Extension Methods to the API page #267

merged 2 commits into from
Mar 30, 2016

Conversation

crswll
Copy link
Contributor

@crswll crswll commented Mar 30, 2016

Let me know what you think!

### array.$remove(indexOrReference)

- **Arguments**
- `{Number | Reference} indexOrReference`
Copy link
Member

Choose a reason for hiding this comment

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

I think that the below jsdoc syntax correct.
{Number | Reference} -> {*}

@yyx990803
Copy link
Member

$remove only supports removal by reference now.

For index removal just use splice.

@crswll
Copy link
Contributor Author

crswll commented Mar 30, 2016

Sweet, adjusted.

@yyx990803 yyx990803 merged commit 746d565 into vuejs:master Mar 30, 2016
@yyx990803
Copy link
Member

Thanks!

@crswll crswll deleted the array-extension-methods branch March 30, 2016 17:06
kazupon pushed a commit to kazupon/vuejs.org that referenced this pull request Oct 1, 2017
* add contributor

* rearrange order

* fix for the typo at the end of the page
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.

3 participants