Skip to content

Conversation

@gberaudo
Copy link
Member

This PR allows deletion of an object property.
Closes: #3404

src/ol/object.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we use the term "own observable property" elsewhere. And I don't really understand it. So I'd just say "Properties can be deleted by using the unset method. E.g. object.unset('foo')."

Copy link
Member Author

Choose a reason for hiding this comment

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

@elemoine
Copy link
Member

I just added a comment regarding the vocabulary used in the docs. Otherwise looks good to me.

src/ol/object.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Add a description.

 * @param {string} key The property key.

Allow deleting a property.
@gberaudo
Copy link
Member Author

The PR was updated based on your comments. Thank you for the review @elemoine.

@elemoine
Copy link
Member

Thanks. Will merge when the Travis build is finished.

elemoine pushed a commit that referenced this pull request Mar 30, 2015
@elemoine elemoine merged commit 7c55639 into openlayers:master Mar 30, 2015
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.

Deleting an ol.Object property

2 participants