Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / user / user.socket.js
index 1093b99..4bcbc70 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa64c=['length','./user.events','save','remove','update','removeListener'];(function(_0x1bf880,_0x50b11f){var _0x37f257=function(_0x403593){while(--_0x403593){_0x1bf880['push'](_0x1bf880['shift']());}};_0x37f257(++_0x50b11f);}(_0xa64c,0x13f));var _0xca64=function(_0x1f9cc1,_0x50bfc4){_0x1f9cc1=_0x1f9cc1-0x0;var _0x1579bd=_0xa64c[_0x1f9cc1];return _0x1579bd;};'use strict';var UserEvents=require(_0xca64('0x0'));var events=[_0xca64('0x1'),_0xca64('0x2'),_0xca64('0x3')];function createListener(_0x946b55,_0x5ddc98){return function(_0x512aed){_0x5ddc98['emit'](_0x946b55,_0x512aed);};}function removeListener(_0x383339,_0x8c88ad){return function(){UserEvents[_0xca64('0x4')](_0x383339,_0x8c88ad);};}exports['register']=function(_0x4b597e){for(var _0x1823fa=0x0,_0x38d0c8=events[_0xca64('0x5')];_0x1823fa<_0x38d0c8;_0x1823fa++){var _0x5a0d6b=events[_0x1823fa];var _0x598416=createListener('user:'+_0x5a0d6b,_0x4b597e);UserEvents['on'](_0x5a0d6b,_0x598416);}};
\ 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