mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Update remote.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user