Update remote.js
This commit is contained in:
parent
d42d10a47c
commit
b444b35215
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ var wrapArgs = function (args, visited) {
|
||||||
|
|
||||||
ret = {
|
ret = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
name: value.constructor.name,
|
name: (value.constructor && value.constructor.name) ? value.constructor.name : 'Object',
|
||||||
members: []
|
members: []
|
||||||
}
|
}
|
||||||
for (prop in value) {
|
for (prop in value) {
|
||||||
|
|
Loading…
Reference in a new issue