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

Add 'delete' alias for the 'del' API method #2166

Closed
wants to merge 1 commit into from

Conversation

MoenCertiK
Copy link
Contributor

@MoenCertiK MoenCertiK commented Apr 12, 2016

Only Using 'del' seems to be a little bit opinionated if there is no 'delete' method provided together; and 'del' also introduced redundant ternary assignment. Thanks!

Fixes #1917

@MoenCertiK MoenCertiK changed the title add 'delete' alias for 'del', reduce ternary checking in the meantime add 'delete' alias for 'del', reduce ternary assignment in the meantime Apr 12, 2016
@simov simov changed the title add 'delete' alias for 'del', reduce ternary assignment in the meantime Add 'delete' alias for the 'del' API method Apr 15, 2016
@simov
Copy link
Member

simov commented Apr 15, 2016

@MuhanZou can you pull simov@865e981 here? It's safer to define the methods separately. I also added quotes around the property for now.

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.

None yet

2 participants