mirror of https://github.com/axmolengine/axmol.git
fix jsb debugger bug
This commit is contained in:
parent
1d03579966
commit
be923b5901
|
@ -2679,9 +2679,9 @@ ObjectActor.prototype = {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"class": this.obj.class,
|
"class": this.obj.class,
|
||||||
"actor": this.actorID,
|
"actor": this.actorID,
|
||||||
"extensible": this.obj.isExtensible(),
|
"extensible": this.obj.isExtensible && typeof this.obj.isExtensible == 'function' ? this.obj.isExtensible() : true,
|
||||||
"frozen": this.obj.isFrozen(),
|
"frozen": this.obj.isFrozen && typeof this.obj.isFrozen == 'function' ? this.obj.isFrozen() : false,
|
||||||
"sealed": this.obj.isSealed()
|
"sealed": this.obj.isSealed && typeof this.obj.isSealed == 'function' ? this.obj.isSealed() : false
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add additional properties for functions.
|
// Add additional properties for functions.
|
||||||
|
|
Loading…
Reference in New Issue