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

Detect CocoonJS.App #1150

Merged
merged 2 commits into from Aug 30, 2014
Merged

Detect CocoonJS.App #1150

merged 2 commits into from Aug 30, 2014

Commits on Aug 30, 2014

  1. Detect CocoonJS.App

    There's a bit of a story behind this, but I'll try to keep it short.
    
    While I've been working on a patch to detect Cordova's 'pause' and 'resume' events for Phaser.Stage's checkVisibilityChange(), I came across this [thread] (http://www.html5gamedevs.com/topic/8834-cocoonjs-pause-game-on-app-switch/) over on the forum. My hope, at the time, was that someone else would come along and write this patch and I could use their work to finish my own code. But, since that hasn't happened yet (and might never), I'm sending in this PR first for the check that establishes a 'game.device.cocoonJSApp' boolean that I plan to use later.
    Dan Cox authored and Dan Cox committed Aug 30, 2014
    Copy the full SHA
    c187235 View commit details
    Browse the repository at this point in the history
  2. Adjustment for JSLint

    Dan Cox authored and Dan Cox committed Aug 30, 2014
    Copy the full SHA
    3f7f6fa View commit details
    Browse the repository at this point in the history