Merge pull request #17 from Theadd/master

return ipc as argument in connect and connectNet callbacks
This commit is contained in:
Brandon Nozaki Miller 2014-08-31 10:29:05 -07:00
commit dd4c26abae

View file

@ -221,7 +221,7 @@ function connect(id,path,callback){
ipc.of[id].connect(); ipc.of[id].connect();
callback(); callback(ipc);
} }
function connectNet(id,host,port,callback){ function connectNet(id,host,port,callback){
@ -291,7 +291,7 @@ function connectNet(id,host,port,callback){
ipc.of[id].connect(); ipc.of[id].connect();
callback(); callback(ipc);
} }
module.exports=ipc; module.exports=ipc;