Skip to content

Commit

Permalink
fix cc.game api typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nantas committed Aug 16, 2016
1 parent 02c5a9b commit 0f97a7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cocos2d/core/CCGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ var _isMusicPlaying = false;
* !#zh 包含游戏主体信息并负责驱动游戏的游戏对象。
* @class Game
*/
var game = /** @lends cc.game# */{
var game = {

/**
* Event triggered when game hide to background.
* Please note that this event is not 100% guaranteed to be fired.
* @property
* @property EVENT_HIDE
* @type {String}
* @example
* cc.game.on(cc.game.EVENT_HIDE, function () {
Expand All @@ -54,21 +54,21 @@ var game = /** @lends cc.game# */{
/**
* Event triggered when game back to foreground
* Please note that this event is not 100% guaranteed to be fired.
* @property
* @property EVENT_SHOW
* @type {String}
*/
EVENT_SHOW: "game_on_show",

/**
* Event triggered after game inited, at this point all engine objects and game scripts are loaded
* @property
* @property EVENT_GAME_INITED
* @type {String}
*/
EVENT_GAME_INITED: "game_inited",

/**
* Event triggered after renderer inited, at this point you will be able to use the render context
* @property
* @property EVENT_RENDERER_INITED
* @type {String}
*/
EVENT_RENDERER_INITED: "renderer_inited",
Expand All @@ -82,7 +82,7 @@ var game = /** @lends cc.game# */{

/**
* Key of config
* @property
* @property CONFIG_KEY
* @type {Object}
*/
CONFIG_KEY: {
Expand Down

0 comments on commit 0f97a7d

Please sign in to comment.