Vastly improved visibility API support + pageshow/pagehide + focus/blur. Working across Chrome, IE, Firefox, iOS, Android (also fixes #161)

This commit is contained in:
photonstorm
2014-02-25 02:59:24 +00:00
parent beaac18b8f
commit 415342d986
10 changed files with 246 additions and 48 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ Phaser.Keyboard = function (game) {
Phaser.Keyboard.prototype = {
/**
* Add callbacks to the Keyboard handler so that each time a key is pressed down or releases the callbacks are activated.
* Add callbacks to the Keyboard handler so that each time a key is pressed down or released the callbacks are activated.
*
* @method Phaser.Keyboard#addCallbacks
* @param {Object} context - The context under which the callbacks are run.