Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / userProfile / userProfile.socket.js
index d7cb98a..a6cbf70 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac8e=['remove','length','userProfile:','./userProfile.events','save'];(function(_0x51862b,_0x1a006e){var _0x3c7940=function(_0x393608){while(--_0x393608){_0x51862b['push'](_0x51862b['shift']());}};_0x3c7940(++_0x1a006e);}(_0xac8e,0x1ac));var _0xeac8=function(_0x1eb6a1,_0x117aef){_0x1eb6a1=_0x1eb6a1-0x0;var _0x599563=_0xac8e[_0x1eb6a1];return _0x599563;};'use strict';var UserProfileEvents=require(_0xeac8('0x0'));var events=[_0xeac8('0x1'),_0xeac8('0x2'),'update'];function createListener(_0x51dab6,_0x34ac1d){return function(_0x455aee){_0x34ac1d['emit'](_0x51dab6,_0x455aee);};}function removeListener(_0x55bdfb,_0x248981){return function(){UserProfileEvents['removeListener'](_0x55bdfb,_0x248981);};}exports['register']=function(_0x26788f){for(var _0x2236bf=0x0,_0x3d6a6a=events[_0xeac8('0x3')];_0x2236bf<_0x3d6a6a;_0x2236bf++){var _0x20ab8f=events[_0x2236bf];var _0x111b66=createListener(_0xeac8('0x4')+_0x20ab8f,_0x26788f);UserProfileEvents['on'](_0x20ab8f,_0x111b66);}};
\ 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