Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / user / user.socket.js
index 8c1fcc8..4bcbc70 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd8b3=['update','emit','removeListener','register','length','user:','./user.events','remove'];(function(_0x3c4737,_0x2329ec){var _0x2bb926=function(_0x3b9605){while(--_0x3b9605){_0x3c4737['push'](_0x3c4737['shift']());}};_0x2bb926(++_0x2329ec);}(_0xd8b3,0x15e));var _0x3d8b=function(_0x415603,_0x21320c){_0x415603=_0x415603-0x0;var _0x131e72=_0xd8b3[_0x415603];return _0x131e72;};'use strict';var UserEvents=require(_0x3d8b('0x0'));var events=['save',_0x3d8b('0x1'),_0x3d8b('0x2')];function createListener(_0x45a605,_0x11ea23){return function(_0x384377){_0x11ea23[_0x3d8b('0x3')](_0x45a605,_0x384377);};}function removeListener(_0x48e13b,_0x25e185){return function(){UserEvents[_0x3d8b('0x4')](_0x48e13b,_0x25e185);};}exports[_0x3d8b('0x5')]=function(_0x48ed51){for(var _0x26e5da=0x0,_0x328c9c=events[_0x3d8b('0x6')];_0x26e5da<_0x328c9c;_0x26e5da++){var _0x34f1dd=events[_0x26e5da];var _0x13251f=createListener(_0x3d8b('0x7')+_0x34f1dd,_0x48ed51);UserEvents['on'](_0x34f1dd,_0x13251f);}};
\ No newline at end of file
+var _0xfc37=['length','./user.events','remove','emit','removeListener','register'];(function(_0xc2b3ce,_0x533dfd){var _0x30e6bb=function(_0x1f24aa){while(--_0x1f24aa){_0xc2b3ce['push'](_0xc2b3ce['shift']());}};_0x30e6bb(++_0x533dfd);}(_0xfc37,0x109));var _0x7fc3=function(_0x4d2957,_0xc66cc9){_0x4d2957=_0x4d2957-0x0;var _0x2241e3=_0xfc37[_0x4d2957];return _0x2241e3;};'use strict';var UserEvents=require(_0x7fc3('0x0'));var events=['save',_0x7fc3('0x1'),'update'];function createListener(_0x376c51,_0x1ade3a){return function(_0x30fbad){_0x1ade3a[_0x7fc3('0x2')](_0x376c51,_0x30fbad);};}function removeListener(_0x27a20f,_0xf4aaca){return function(){UserEvents[_0x7fc3('0x3')](_0x27a20f,_0xf4aaca);};}exports[_0x7fc3('0x4')]=function(_0x47e16b){for(var _0x3ba6d1=0x0,_0x188134=events[_0x7fc3('0x5')];_0x3ba6d1<_0x188134;_0x3ba6d1++){var _0x3ea932=events[_0x3ba6d1];var _0x4684ff=createListener('user:'+_0x3ea932,_0x47e16b);UserEvents['on'](_0x3ea932,_0x4684ff);}};
\ No newline at end of file