correct the creator-api-tsd context (#2765)

This commit is contained in:
黄家辉
2018-05-30 14:48:18 +08:00
committed by Jare Guo
parent 85f3603546
commit 54bd44fd65
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -93,6 +93,10 @@ cc.DebugMode = Enum({
ERROR_FOR_WEB_PAGE: 6
});
/**
* @module cc
*/
/**
* !#en Init Debug setting.
* !#zh 设置调试模式。
+5
View File
@@ -29,6 +29,7 @@ if (cc.sys) return;
/**
* System variables
* @class sys
* @main
* @static
*/
cc.sys = {};
@@ -543,6 +544,10 @@ sys.NetworkType = {
WWAN: 2
};
/**
* @class sys
*/
/**
* !#en
* Get the battery level of current device, return 1.0 if failure.