From d726d8d2a6dbd28f8d08900ef3e47b5ee3640dc2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 3 Mar 2017 17:13:45 +0300 Subject: [PATCH] finished .peerCall(..)... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/peer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/features/peer.js b/ui (gen4)/features/peer.js index 8eaf990e..824f8e79 100755 --- a/ui (gen4)/features/peer.js +++ b/ui (gen4)/features/peer.js @@ -338,11 +338,11 @@ var ChildProcessPeerActions = actions.Actions({ // ...this would be useful to 100% match the action api and // make the thing transparent... // XXX prop access??? + // XXX test... peerCall: ['- Peer/', makeProtocolHandler('child', function(id, action){ - return new Promise((function(resolve, reject){ - // XXX - }).bind(this)) + var args = [].slice.call(arguments, 2) + return this.peerApply(ig, action, args) })], peerApply: ['- Peer/', makeProtocolHandler('child', function(id, action, args){