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) {