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

Rename the delete method to remove #1

Merged
merged 1 commit into from
May 22, 2014
Merged

Rename the delete method to remove #1

merged 1 commit into from
May 22, 2014

Conversation

sbrandwoo
Copy link
Contributor

... since delete is a keyword and IE8 doesn't allow it.

shuttlebrad added a commit that referenced this pull request May 22, 2014
Rename the delete method to remove
@shuttlebrad shuttlebrad merged commit 0c05274 into basiliskjs:master May 22, 2014
@ErisDS
Copy link

ErisDS commented May 23, 2014

Just FYI - I think 'destroy' is more common?

@sbrandwoo
Copy link
Contributor Author

remove is like Java - what frameworks use destroy?

@ErisDS
Copy link

ErisDS commented May 23, 2014

Ah - is that where it's from? Didn't realise - backbone.js uses destroy, so does bookshelf which is build on it, and thus Ghost uses it as well. Can't think of any others off of the top of my head.

shuttlebrad pushed a commit that referenced this pull request May 28, 2014
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