Update remote.js

This commit is contained in:
Maksim 2016-07-06 17:02:56 +08:00 committed by Kevin Sawicki
parent d42d10a47c
commit b444b35215

View file

@ -60,7 +60,7 @@ var wrapArgs = function (args, visited) {
ret = {
type: 'object',
name: value.constructor.name,
name: (value.constructor && value.constructor.name) ? value.constructor.name : 'Object',
members: []
}
for (prop in value) {