Pass through empty constructor names
This commit is contained in:
parent
a1209b69b3
commit
d67dfd09fd
3 changed files with 5 additions and 4 deletions
|
@ -60,7 +60,7 @@ var wrapArgs = function (args, visited) {
|
|||
|
||||
ret = {
|
||||
type: 'object',
|
||||
name: (value.constructor && value.constructor.name) ? value.constructor.name : 'Object',
|
||||
name: value.constructor != null ? value.constructor.name : 'Object',
|
||||
members: []
|
||||
}
|
||||
for (prop in value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue