From 22fe4ca38c1511423d4349424f65d29bdf2d1d89 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 1 Sep 2016 10:44:49 +0800 Subject: [PATCH] Improve cc.game.end doc --- cocos2d/core/CCGame.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cocos2d/core/CCGame.js b/cocos2d/core/CCGame.js index b79280f93a..30b1efdd2c 100644 --- a/cocos2d/core/CCGame.js +++ b/cocos2d/core/CCGame.js @@ -305,7 +305,9 @@ var game = { }, /** - * End game, it will close the game window + * !#en End game, it will close the game window + * !#zh 退出游戏 + * @method end */ end: function () { close();