X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.socket.js;h=e777e5b9b8611c519bba46d250cafc98cb8d6a91;hb=7e2a86485d5b091066011cf58fcba785923a5ac5;hp=bb088098f8e85e622423fef8d60cec60d25e26f1;hpb=de6f27d8824ffb29cbf937050a12378469af9a53;p=motion2.git diff --git a/server/api/userProfile/userProfile.socket.js b/server/api/userProfile/userProfile.socket.js index bb08809..e777e5b 100644 --- a/server/api/userProfile/userProfile.socket.js +++ b/server/api/userProfile/userProfile.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc1f6=['./userProfile.events','save','update','emit','removeListener','length'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0xc1f6,0xae));var _0x6c1f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc1f6[_0x3dd15e];return _0x231fd0;};'use strict';var UserProfileEvents=require(_0x6c1f('0x0'));var events=[_0x6c1f('0x1'),'remove',_0x6c1f('0x2')];function createListener(_0xa80c75,_0x4211d6){return function(_0xc04b51){_0x4211d6[_0x6c1f('0x3')](_0xa80c75,_0xc04b51);};}function removeListener(_0x4d7d0c,_0x50b845){return function(){UserProfileEvents[_0x6c1f('0x4')](_0x4d7d0c,_0x50b845);};}exports['register']=function(_0x531749){for(var _0x22071e=0x0,_0x4cec78=events[_0x6c1f('0x5')];_0x22071e<_0x4cec78;_0x22071e++){var _0x1ee33b=events[_0x22071e];var _0x4626ee=createListener('userProfile:'+_0x1ee33b,_0x531749);UserProfileEvents['on'](_0x1ee33b,_0x4626ee);}}; \ No newline at end of file +var _0x28ab=['remove','emit','removeListener','register','length','userProfile:'];(function(_0x3c3e70,_0x1fe8ec){var _0x1f7bef=function(_0x4933ad){while(--_0x4933ad){_0x3c3e70['push'](_0x3c3e70['shift']());}};_0x1f7bef(++_0x1fe8ec);}(_0x28ab,0x138));var _0xb28a=function(_0x4c8e77,_0x5f2d84){_0x4c8e77=_0x4c8e77-0x0;var _0x449705=_0x28ab[_0x4c8e77];return _0x449705;};'use strict';var UserProfileEvents=require('./userProfile.events');var events=['save',_0xb28a('0x0'),'update'];function createListener(_0x1a175d,_0x31a806){return function(_0x487f9a){_0x31a806[_0xb28a('0x1')](_0x1a175d,_0x487f9a);};}function removeListener(_0x306e4b,_0x2bc1c6){return function(){UserProfileEvents[_0xb28a('0x2')](_0x306e4b,_0x2bc1c6);};}exports[_0xb28a('0x3')]=function(_0x38f365){for(var _0x11b1a1=0x0,_0x2f58bc=events[_0xb28a('0x4')];_0x11b1a1<_0x2f58bc;_0x11b1a1++){var _0x5caa5d=events[_0x11b1a1];var _0x4a30d0=createListener(_0xb28a('0x5')+_0x5caa5d,_0x38f365);UserProfileEvents['on'](_0x5caa5d,_0x4a30d0);}}; \ No newline at end of file