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

Export ol.Collection#getArray #940

Merged
merged 2 commits into from
Sep 2, 2013
Merged

Export ol.Collection#getArray #940

merged 2 commits into from
Sep 2, 2013

Conversation

elemoine
Copy link
Member

This PR suggests exporting ol.Collection#getArray. Currently, we export all the public functions of ol.Collection.prototype except for getArray. There are use-cases where getting a reference to the underlying Array object is needed. It is for example needed when working with Angular's repeater - ngRepeat indeed expects a POJO.

@fredj
Copy link
Member

fredj commented Aug 29, 2013

+1

@elemoine
Copy link
Member Author

Change doc: read-only.

elemoine pushed a commit that referenced this pull request Sep 2, 2013
Export ol.Collection#getArray
@elemoine elemoine merged commit e826e83 into openlayers:master Sep 2, 2013
@elemoine elemoine deleted the getarray branch September 2, 2013 16:24
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