From 803a84ab47a433f3d92aca61ce5d2384dc55ea0a Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Mon, 12 Mar 2018 22:22:44 +0800 Subject: [PATCH] fix cc._throw --- CCDebugger.js | 2 +- cocos2d/tilemap/CCSGTMXObject.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CCDebugger.js b/CCDebugger.js index b7e4ef1a0e..d3d85af141 100644 --- a/CCDebugger.js +++ b/CCDebugger.js @@ -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; diff --git a/cocos2d/tilemap/CCSGTMXObject.js b/cocos2d/tilemap/CCSGTMXObject.js index e48524ba91..8f7806bf8e 100644 --- a/cocos2d/tilemap/CCSGTMXObject.js +++ b/cocos2d/tilemap/CCSGTMXObject.js @@ -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) {