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

Get rid of goog.array.* functions #959

Merged
merged 4 commits into from Mar 30, 2016
Merged

Conversation

fredj
Copy link
Member

@fredj fredj commented Mar 30, 2016

Use the ol3 functions instead

@@ -92,7 +93,7 @@ ngeo.LayerHelper.prototype.createWMTSLayerFromCapabilitites = function(

// Add styles from capabilities as param of the layer
var layers = result['Contents']['Layer'];
var l = goog.array.find(layers, function(elt, index, array) {
var l = ol.array.find(layers, function(elt, index, array) {
Copy link
Member

Choose a reason for hiding this comment

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

find is in Array.prototype also.

Copy link
Member Author

Choose a reason for hiding this comment

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

@fgravin
Copy link
Member

fgravin commented Mar 30, 2016

LGTM

@fredj
Copy link
Member Author

fredj commented Mar 30, 2016

Thanks for the review

@fredj fredj merged commit 568e21f into camptocamp:master Mar 30, 2016
@fredj fredj deleted the rm_goog.array branch March 30, 2016 12:58
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
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

3 participants