photonstorm/phaser — pull request #1324 by pnstickne (2014-11-13 07:51:50+00:00)
Title: Phaser.Device - updates, and a few corrections

- FIX A Silk browser no longer registers as Safari.

- FIX (or breaking change by code correction): `desktop` detection of Linux when Silk is the browser.

- CHANGE game property deprecated, for possible separation of game/Device
- game.canvas is not used (and thus game is not used)

- CHANGE littleEndian defaults to undefined (as it might not be computable)

- CHANGE Removed pre-29 Chrome support for detecting developer tools open.

- CHANGE navigator.vibrate is not updated (this was the only code that updated navigator)

- Updated access to navigator and window for consistency, updated quotes for consistency, etc.
(I don't care which is used, but it should all be window[x] or window['x'], as much as possible.)

- Simplified/codified some logic; logical-if nesting, else-if across ejecta/crosswalk/cocoon tests, chained conditionals; made quotes consistent.

- Updated some documentation/formatting.