remote: support arguments of type Date
This commit is contained in:
parent
5f3c6107d5
commit
72374b6e31
4 changed files with 16 additions and 1 deletions
|
@ -67,6 +67,7 @@ unwrapArgs = (sender, args) ->
|
|||
when 'remote-object' then objectsRegistry.get meta.id
|
||||
when 'array' then unwrapArgs sender, meta.value
|
||||
when 'buffer' then new Buffer(meta.value)
|
||||
when 'date' then new Date(meta.value)
|
||||
when 'promise' then Promise.resolve(then: metaToValue(meta.then))
|
||||
when 'object'
|
||||
ret = v8Util.createObjectWithName meta.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue