Skip to content

Reuse dragListenerKeys_ local variable #4870

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

Merged
merged 2 commits into from
Feb 19, 2016
Merged

Reuse dragListenerKeys_ local variable #4870

merged 2 commits into from
Feb 19, 2016

Conversation

fredj
Copy link
Member

@fredj fredj commented Feb 18, 2016

Reuse the array instead of recreating a new one.

And fix variable declaration in constructor.

@tschaub
Copy link
Member

tschaub commented Feb 18, 2016

Looks good. Please merge.

fredj added a commit that referenced this pull request Feb 19, 2016
Reuse dragListenerKeys_ local variable
@fredj fredj merged commit 82f6fb9 into openlayers:master Feb 19, 2016
@fredj fredj deleted the gc branch February 19, 2016 14:54
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.

2 participants