mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
correct the creator-api-tsd context (#2765)
This commit is contained in:
@@ -93,6 +93,10 @@ cc.DebugMode = Enum({
|
||||
ERROR_FOR_WEB_PAGE: 6
|
||||
});
|
||||
|
||||
/**
|
||||
* @module cc
|
||||
*/
|
||||
|
||||
/**
|
||||
* !#en Init Debug setting.
|
||||
* !#zh 设置调试模式。
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user