Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / userProfile / userProfile.socket.js
index be89171..015fdf5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf892=['removeListener','register','length','./userProfile.events','remove','update','emit'];(function(_0x3bcda9,_0x277f01){var _0x54991f=function(_0x4e8a18){while(--_0x4e8a18){_0x3bcda9['push'](_0x3bcda9['shift']());}};_0x54991f(++_0x277f01);}(_0xf892,0x11b));var _0x2f89=function(_0x245690,_0x3bf938){_0x245690=_0x245690-0x0;var _0x3fb9a4=_0xf892[_0x245690];return _0x3fb9a4;};'use strict';var UserProfileEvents=require(_0x2f89('0x0'));var events=['save',_0x2f89('0x1'),_0x2f89('0x2')];function createListener(_0x593f0f,_0x445f63){return function(_0x247742){_0x445f63[_0x2f89('0x3')](_0x593f0f,_0x247742);};}function removeListener(_0x1194a1,_0x4cfc92){return function(){UserProfileEvents[_0x2f89('0x4')](_0x1194a1,_0x4cfc92);};}exports[_0x2f89('0x5')]=function(_0x223fd0){for(var _0x2f6dda=0x0,_0x9da4b8=events[_0x2f89('0x6')];_0x2f6dda<_0x9da4b8;_0x2f6dda++){var _0x5755d9=events[_0x2f6dda];var _0x3980ce=createListener('userProfile:'+_0x5755d9,_0x223fd0);UserProfileEvents['on'](_0x5755d9,_0x3980ce);}};
\ No newline at end of file
+var _0x1521=['length','userProfile:','./userProfile.events','remove','removeListener'];(function(_0xa2c2e2,_0x535d90){var _0x3d7867=function(_0x48be46){while(--_0x48be46){_0xa2c2e2['push'](_0xa2c2e2['shift']());}};_0x3d7867(++_0x535d90);}(_0x1521,0x133));var _0x1152=function(_0x4314d7,_0x355218){_0x4314d7=_0x4314d7-0x0;var _0x5c599b=_0x1521[_0x4314d7];return _0x5c599b;};'use strict';var UserProfileEvents=require(_0x1152('0x0'));var events=['save',_0x1152('0x1'),'update'];function createListener(_0x475ccc,_0x4ffd36){return function(_0x9f3a1c){_0x4ffd36['emit'](_0x475ccc,_0x9f3a1c);};}function removeListener(_0x2abff2,_0x468a77){return function(){UserProfileEvents[_0x1152('0x2')](_0x2abff2,_0x468a77);};}exports['register']=function(_0x5df607){for(var _0x1046e7=0x0,_0x4c3507=events[_0x1152('0x3')];_0x1046e7<_0x4c3507;_0x1046e7++){var _0xe7c4d3=events[_0x1046e7];var _0x3155e3=createListener(_0x1152('0x4')+_0xe7c4d3,_0x5df607);UserProfileEvents['on'](_0xe7c4d3,_0x3155e3);}};
\ No newline at end of file