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",
|
||||
"class": this.obj.class,
|
||||
"actor": this.actorID,
|
||||
"extensible": this.obj.isExtensible(),
|
||||
"frozen": this.obj.isFrozen(),
|
||||
"sealed": this.obj.isSealed()
|
||||
"extensible": this.obj.isExtensible && typeof this.obj.isExtensible == 'function' ? this.obj.isExtensible() : true,
|
||||
"frozen": this.obj.isFrozen && typeof this.obj.isFrozen == 'function' ? this.obj.isFrozen() : false,
|
||||
"sealed": this.obj.isSealed && typeof this.obj.isSealed == 'function' ? this.obj.isSealed() : false
|
||||
};
|
||||
|
||||
// Add additional properties for functions.
|
||||
|
|
Loading…
Reference in New Issue