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

Upgrade closure library version #2647

Merged
merged 3 commits into from
Sep 15, 2014
Merged

Conversation

fredj
Copy link
Member

@fredj fredj commented Aug 28, 2014

And remove a workaround fixed upstream.

work in progress

return [eventPosition.x, eventPosition.y];
}
var eventPosition = goog.style.getRelativePosition(event, this.viewport_);
return [eventPosition.x, eventPosition.y];
Copy link
Member

Choose a reason for hiding this comment

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

We use event.changedTouches when it is defined. google/closure-library@116609a does not use changedTouches so I'm a bit uncertain that this commit really fixes the problem for us.

Copy link
Member Author

Choose a reason for hiding this comment

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

testing now

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right; the change in closure-library in wrong. It always return [0, 0] for touchend events.

@fredj fredj force-pushed the closure-lib-upgrade branch 3 times, most recently from c60a7d9 to ade15d7 Compare September 1, 2014 07:14
@elemoine
Copy link
Member

elemoine commented Sep 4, 2014

Is this ready to be merged from your point of view?

@tschaub tschaub added this to the v3.1.0 milestone Sep 4, 2014
@fredj
Copy link
Member Author

fredj commented Sep 4, 2014

No because of google/closure-library#343

@fredj
Copy link
Member Author

fredj commented Sep 15, 2014

Small clarification: the closure-library issue mentioned above don't occur with the latest closure-compiler version (closure-util >= 0.20.0)

@elemoine
Copy link
Member

So I think we can merge this. Thanks!

@fredj
Copy link
Member Author

fredj commented Sep 15, 2014

ok. thanks for the review

fredj added a commit that referenced this pull request Sep 15, 2014
@fredj fredj merged commit 8bf43f5 into openlayers:master Sep 15, 2014
@fredj fredj deleted the closure-lib-upgrade branch September 15, 2014 12:36
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