Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / user / user.socket.js
index 4bcbc70..279b6ab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0xa0ac=['user:','./user.events','save','remove','update','removeListener','length'];(function(_0x248d1c,_0x24e6c1){var _0x464bc6=function(_0xf9b2f5){while(--_0xf9b2f5){_0x248d1c['push'](_0x248d1c['shift']());}};_0x464bc6(++_0x24e6c1);}(_0xa0ac,0x14a));var _0xca0a=function(_0x4c6234,_0x5352e6){_0x4c6234=_0x4c6234-0x0;var _0x27f442=_0xa0ac[_0x4c6234];return _0x27f442;};'use strict';var UserEvents=require(_0xca0a('0x0'));var events=[_0xca0a('0x1'),_0xca0a('0x2'),_0xca0a('0x3')];function createListener(_0x1e5b92,_0x20f14a){return function(_0xba8ecc){_0x20f14a['emit'](_0x1e5b92,_0xba8ecc);};}function removeListener(_0x2ff1ce,_0x4b3fb1){return function(){UserEvents[_0xca0a('0x4')](_0x2ff1ce,_0x4b3fb1);};}exports['register']=function(_0x41cf21){for(var _0x87111a=0x0,_0x3aef25=events[_0xca0a('0x5')];_0x87111a<_0x3aef25;_0x87111a++){var _0x3d7c4b=events[_0x87111a];var _0x3bc489=createListener(_0xca0a('0x6')+_0x3d7c4b,_0x41cf21);UserEvents['on'](_0x3d7c4b,_0x3bc489);}};
\ No newline at end of file