mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
fix cc._throw
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ cc.DebugMode = Enum({
|
||||
*/
|
||||
cc._initDebugSetting = function (mode) {
|
||||
// reset
|
||||
cc.log = cc.logID = cc.warn = cc.warnID = cc.error = cc.errorID = cc._throw = cc.assert = cc.assertID = function () { };
|
||||
cc.log = cc.logID = cc.warn = cc.warnID = cc.error = cc.errorID = cc.assert = cc.assertID = function () { };
|
||||
|
||||
if (mode === cc.DebugMode.NONE)
|
||||
return;
|
||||
|
||||
@@ -79,6 +79,7 @@ _ccsg.TMXObject = cc.Class({
|
||||
* !#en Get the property of object
|
||||
* !#zh 获取对象的属性
|
||||
* @method getProperty
|
||||
* @param {String} propertyName
|
||||
* @return {Object}
|
||||
*/
|
||||
getProperty: function (propName) {
|
||||
|
||||
Reference in New Issue
Block a user