photonstorm/phaser — pull request #1316 by pnstickne (2014-11-12 06:46:09+00:00)
Title: ScaleManager - orientation updates/fixes

This should fix #1306

It also updates the method of obtaining the orientation to be more consistent and standards/future-oriented.

There _may_ be a case for enabling the `window.orientation` fallback, but I believe the current method should be sufficient while avoiding some of the known issues.