fix cc._throw

This commit is contained in:
Jare Guo
2018-03-12 22:22:44 +08:00
parent e61c8eeb3a
commit 803a84ab47
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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;
+1
View File
@@ -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) {