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

Switched from using deviceorientation to orientationchange. #220

Merged
merged 1 commit into from
Jun 18, 2015

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented Jun 18, 2015

The deviceorientation event is fired when a device's physical orientation changes per the w3c spec, not necessarily when the orientation changes itself.

Previously, if the device was tilted or moved in an inconsequential manner, it was firing off the logic to recalculate the height. With the orientationchange event, when the layout itself switches from portrait to landscape it is now recalculating the height.

I also upgraded grunt-contrib-uglify library so that I could build.

Switched from using deviceorientation to orientationchange.
@davidjbradshaw davidjbradshaw merged commit abf7d40 into davidjbradshaw:master Jun 18, 2015
@davidjbradshaw
Copy link
Owner

Thank you, released as v2.8.9.

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