Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / user / user.socket.js
index 7740875..37be011 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc8af=['length','remove','update','removeListener'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc8af,0x13d));var _0xfc8a=function(_0x9aa840,_0x84ebbe){_0x9aa840=_0x9aa840-0x0;var _0x1b5e16=_0xc8af[_0x9aa840];return _0x1b5e16;};'use strict';var UserEvents=require('./user.events');var events=['save',_0xfc8a('0x0'),_0xfc8a('0x1')];function createListener(_0x4f978d,_0x5e1ba6){return function(_0x1a7041){_0x5e1ba6['emit'](_0x4f978d,_0x1a7041);};}function removeListener(_0x486aef,_0x4c6496){return function(){UserEvents[_0xfc8a('0x2')](_0x486aef,_0x4c6496);};}exports['register']=function(_0x24b176){for(var _0x43cb29=0x0,_0x44da5c=events[_0xfc8a('0x3')];_0x43cb29<_0x44da5c;_0x43cb29++){var _0x11d8cf=events[_0x43cb29];var _0x52da18=createListener('user:'+_0x11d8cf,_0x24b176);UserEvents['on'](_0x11d8cf,_0x52da18);}};
\ No newline at end of file
+var _0xc0b8=['./user.events','save','emit','length','user:'];(function(_0x1a0013,_0x23c6dc){var _0x17474c=function(_0x5f8fd7){while(--_0x5f8fd7){_0x1a0013['push'](_0x1a0013['shift']());}};_0x17474c(++_0x23c6dc);}(_0xc0b8,0x15e));var _0x8c0b=function(_0x113925,_0x3d97d){_0x113925=_0x113925-0x0;var _0x11fa7f=_0xc0b8[_0x113925];return _0x11fa7f;};'use strict';var UserEvents=require(_0x8c0b('0x0'));var events=[_0x8c0b('0x1'),'remove','update'];function createListener(_0x3e811f,_0x375085){return function(_0x2b209c){_0x375085[_0x8c0b('0x2')](_0x3e811f,_0x2b209c);};}function removeListener(_0x4a563d,_0x4f1d46){return function(){UserEvents['removeListener'](_0x4a563d,_0x4f1d46);};}exports['register']=function(_0xc9837d){for(var _0x59a861=0x0,_0x3a857d=events[_0x8c0b('0x3')];_0x59a861<_0x3a857d;_0x59a861++){var _0x26d05c=events[_0x59a861];var _0x457900=createListener(_0x8c0b('0x4')+_0x26d05c,_0xc9837d);UserEvents['on'](_0x26d05c,_0x457900);}};
\ No newline at end of file