bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-03-04 04:20:05 +03:00
parent d726d8d2a6
commit ee8df1330f

View File

@ -338,11 +338,10 @@ var ChildProcessPeerActions = actions.Actions({
// ...this would be useful to 100% match the action api and // ...this would be useful to 100% match the action api and
// make the thing transparent... // make the thing transparent...
// XXX prop access??? // XXX prop access???
// XXX test...
peerCall: ['- Peer/', peerCall: ['- Peer/',
makeProtocolHandler('child', function(id, action){ makeProtocolHandler('child', function(id, action){
var args = [].slice.call(arguments, 2) var args = [].slice.call(arguments, 2)
return this.peerApply(ig, action, args) return this.peerApply(id, action, args)
})], })],
peerApply: ['- Peer/', peerApply: ['- Peer/',
makeProtocolHandler('child', function(id, action, args){ makeProtocolHandler('child', function(id, action, args){