X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.socket.js;h=e15c94044d86194869b156f921fe6301f9ab7d95;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=8c3ac1804eb302d3ee1c4f0241dd3a03a92e0819;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/api/userProfile/userProfile.socket.js b/server/api/userProfile/userProfile.socket.js index 8c3ac18..e15c940 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 _0x653d=['save','remove','emit','removeListener','length','userProfile:','./userProfile.events'];(function(_0x27c93d,_0x181858){var _0x4d120f=function(_0x19c842){while(--_0x19c842){_0x27c93d['push'](_0x27c93d['shift']());}};_0x4d120f(++_0x181858);}(_0x653d,0xa7));var _0xd653=function(_0x160606,_0x38d60b){_0x160606=_0x160606-0x0;var _0x3457e6=_0x653d[_0x160606];return _0x3457e6;};'use strict';var UserProfileEvents=require(_0xd653('0x0'));var events=[_0xd653('0x1'),_0xd653('0x2'),'update'];function createListener(_0x4d56af,_0xfb0067){return function(_0x56cac9){_0xfb0067[_0xd653('0x3')](_0x4d56af,_0x56cac9);};}function removeListener(_0x41b6eb,_0x200786){return function(){UserProfileEvents[_0xd653('0x4')](_0x41b6eb,_0x200786);};}exports['register']=function(_0x3cfba8){for(var _0x326c87=0x0,_0x1aeac2=events[_0xd653('0x5')];_0x326c87<_0x1aeac2;_0x326c87++){var _0x1adbea=events[_0x326c87];var _0x46285b=createListener(_0xd653('0x6')+_0x1adbea,_0x3cfba8);UserProfileEvents['on'](_0x1adbea,_0x46285b);}}; \ No newline at end of file +var _0xc092=['removeListener','userProfile:','./userProfile.events','save','remove','update','emit'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xc092,0x64));var _0x2c09=function(_0x4d393f,_0x30d030){_0x4d393f=_0x4d393f-0x0;var _0xbcf0d0=_0xc092[_0x4d393f];return _0xbcf0d0;};'use strict';var UserProfileEvents=require(_0x2c09('0x0'));var events=[_0x2c09('0x1'),_0x2c09('0x2'),_0x2c09('0x3')];function createListener(_0x487172,_0x186790){return function(_0x3932f3){_0x186790[_0x2c09('0x4')](_0x487172,_0x3932f3);};}function removeListener(_0x2a63ed,_0x11356d){return function(){UserProfileEvents[_0x2c09('0x5')](_0x2a63ed,_0x11356d);};}exports['register']=function(_0x39560a){for(var _0x4de1b1=0x0,_0x4349a4=events['length'];_0x4de1b1<_0x4349a4;_0x4de1b1++){var _0x3bf3e6=events[_0x4de1b1];var _0x311c9c=createListener(_0x2c09('0x6')+_0x3bf3e6,_0x39560a);UserProfileEvents['on'](_0x3bf3e6,_0x311c9c);}}; \ No newline at end of file