X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.socket.js;h=a6cbf702bb714cfd63082ef40d5e7d03810e834e;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=3727b54f75f1d1b170144680ff80b32a08847f53;hpb=d0a5f290c38808a51b2a974ceac262033db82ac8;p=motion2.git diff --git a/server/api/userProfile/userProfile.socket.js b/server/api/userProfile/userProfile.socket.js index 3727b54..a6cbf70 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 _0xbbcd=['save','update','emit','removeListener','register','length','./userProfile.events'];(function(_0x2b3cca,_0x462dc2){var _0x27f70c=function(_0x26592c){while(--_0x26592c){_0x2b3cca['push'](_0x2b3cca['shift']());}};_0x27f70c(++_0x462dc2);}(_0xbbcd,0x1db));var _0xdbbc=function(_0x40cba7,_0x9dc202){_0x40cba7=_0x40cba7-0x0;var _0x5e888d=_0xbbcd[_0x40cba7];return _0x5e888d;};'use strict';var UserProfileEvents=require(_0xdbbc('0x0'));var events=[_0xdbbc('0x1'),'remove',_0xdbbc('0x2')];function createListener(_0x899f0,_0x540035){return function(_0x392ba5){_0x540035[_0xdbbc('0x3')](_0x899f0,_0x392ba5);};}function removeListener(_0x19e7fc,_0x4b9ce2){return function(){UserProfileEvents[_0xdbbc('0x4')](_0x19e7fc,_0x4b9ce2);};}exports[_0xdbbc('0x5')]=function(_0x77c68){for(var _0x1ec593=0x0,_0x3904e3=events[_0xdbbc('0x6')];_0x1ec593<_0x3904e3;_0x1ec593++){var _0x71596b=events[_0x1ec593];var _0xf526f4=createListener('userProfile:'+_0x71596b,_0x77c68);UserProfileEvents['on'](_0x71596b,_0xf526f4);}}; \ No newline at end of file +var _0x56a1=['length','userProfile:','./userProfile.events','emit','register'];(function(_0x1f3506,_0x5ed124){var _0x59678c=function(_0x5d6164){while(--_0x5d6164){_0x1f3506['push'](_0x1f3506['shift']());}};_0x59678c(++_0x5ed124);}(_0x56a1,0x115));var _0x156a=function(_0x2bfc60,_0xa254ab){_0x2bfc60=_0x2bfc60-0x0;var _0x44ea2c=_0x56a1[_0x2bfc60];return _0x44ea2c;};'use strict';var UserProfileEvents=require(_0x156a('0x0'));var events=['save','remove','update'];function createListener(_0x416117,_0x3cea74){return function(_0x3436a5){_0x3cea74[_0x156a('0x1')](_0x416117,_0x3436a5);};}function removeListener(_0x2e0b4c,_0x3b2b29){return function(){UserProfileEvents['removeListener'](_0x2e0b4c,_0x3b2b29);};}exports[_0x156a('0x2')]=function(_0x3a074f){for(var _0xa416b3=0x0,_0x1cf575=events[_0x156a('0x3')];_0xa416b3<_0x1cf575;_0xa416b3++){var _0x122dcf=events[_0xa416b3];var _0x1b04de=createListener(_0x156a('0x4')+_0x122dcf,_0x3a074f);UserProfileEvents['on'](_0x122dcf,_0x1b04de);}}; \ No newline at end of file