X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fconfig%2Frpc%2Fclient.js;h=83869ffb5052bc6fcb72cd4068e385a784df9c5e;hb=431dfa0a490034b07a93f2c0b899cf9c41489d05;hp=694e14987c03b369890a1b97cad57cdc315c4d10;hpb=fd363517dad34400767d607cacf794825eb216b4;p=motion.git diff --git a/server/config/rpc/client.js b/server/config/rpc/client.js index 694e149..83869ff 100644 --- a/server/config/rpc/client.js +++ b/server/config/rpc/client.js @@ -1 +1 @@ -var _0xd4bd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6A\x61\x79\x73\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x68\x74\x74\x70","\x63\x6C\x69\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x72\x65\x73\x75\x6C\x74","\x72\x65\x71\x75\x65\x73\x74"];_0xd4bd[0];var jayson=require(_0xd4bd[1]);var Promise=require(_0xd4bd[2]);var client=jayson[_0xd4bd[4]][_0xd4bd[3]]({port:9001});module[_0xd4bd[5]]= {request:function(_0x84cax4,_0x84cax5){return new Promise(function(_0x84cax6,_0x84cax7){client[_0xd4bd[8]](_0x84cax4,_0x84cax5,function(_0x84cax8,_0x84cax9){if(_0x84cax8){_0x84cax7(_0x84cax8)}else {if(_0x84cax9[_0xd4bd[6]]){_0x84cax7(_0x84cax9[_0xd4bd[6]])}else {_0x84cax6(_0x84cax9[_0xd4bd[7]])}}})})}} \ No newline at end of file +var _0x2ef0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6A\x61\x79\x73\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x68\x74\x74\x70","\x63\x6C\x69\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x72\x65\x73\x75\x6C\x74","\x72\x65\x71\x75\x65\x73\x74"];_0x2ef0[0];var jayson=require(_0x2ef0[1]);var Promise=require(_0x2ef0[2]);var client=jayson[_0x2ef0[4]][_0x2ef0[3]]({port:9001});module[_0x2ef0[5]]= {request:function(_0x547cx4,_0x547cx5){return new Promise(function(_0x547cx6,_0x547cx7){client[_0x2ef0[8]](_0x547cx4,_0x547cx5,function(_0x547cx8,_0x547cx9){if(_0x547cx8){_0x547cx7(_0x547cx8)}else {if(_0x547cx9[_0x2ef0[6]]){_0x547cx7(_0x547cx9[_0x2ef0[6]])}else {_0x547cx6(_0x547cx9[_0x2ef0[7]])}}})})}} \ No newline at end of file