Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / user / user.socket.js
index 4e57771..89cd70f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfe04=['length','user:','./user.events','save','remove','update','emit'];(function(_0x24d560,_0x2e0e7b){var _0x18f7b3=function(_0x564a93){while(--_0x564a93){_0x24d560['push'](_0x24d560['shift']());}};_0x18f7b3(++_0x2e0e7b);}(_0xfe04,0x17c));var _0x4fe0=function(_0x5126cc,_0x5bda3f){_0x5126cc=_0x5126cc-0x0;var _0xb9bd66=_0xfe04[_0x5126cc];return _0xb9bd66;};'use strict';var UserEvents=require(_0x4fe0('0x0'));var events=[_0x4fe0('0x1'),_0x4fe0('0x2'),_0x4fe0('0x3')];function createListener(_0x35453a,_0x455682){return function(_0x5663bf){_0x455682[_0x4fe0('0x4')](_0x35453a,_0x5663bf);};}function removeListener(_0x5c80bf,_0x459ae6){return function(){UserEvents['removeListener'](_0x5c80bf,_0x459ae6);};}exports['register']=function(_0x1cd1b8){for(var _0xa0b5b3=0x0,_0x297dc6=events[_0x4fe0('0x5')];_0xa0b5b3<_0x297dc6;_0xa0b5b3++){var _0x3bed2c=events[_0xa0b5b3];var _0x2e6d8c=createListener(_0x4fe0('0x6')+_0x3bed2c,_0x1cd1b8);UserEvents['on'](_0x3bed2c,_0x2e6d8c);}};
\ No newline at end of file
+var _0xf7eb=['user:','remove','update','emit','removeListener','register'];(function(_0x3011f6,_0x15f69d){var _0x56d25c=function(_0x2f0c7e){while(--_0x2f0c7e){_0x3011f6['push'](_0x3011f6['shift']());}};_0x56d25c(++_0x15f69d);}(_0xf7eb,0x15d));var _0xbf7e=function(_0x5e868c,_0x5d6375){_0x5e868c=_0x5e868c-0x0;var _0x576a4c=_0xf7eb[_0x5e868c];return _0x576a4c;};'use strict';var UserEvents=require('./user.events');var events=['save',_0xbf7e('0x0'),_0xbf7e('0x1')];function createListener(_0x57f43a,_0x818683){return function(_0x182762){_0x818683[_0xbf7e('0x2')](_0x57f43a,_0x182762);};}function removeListener(_0x570d5b,_0xd92fb9){return function(){UserEvents[_0xbf7e('0x3')](_0x570d5b,_0xd92fb9);};}exports[_0xbf7e('0x4')]=function(_0x2b10f4){for(var _0x1be580=0x0,_0x50621c=events['length'];_0x1be580<_0x50621c;_0x1be580++){var _0x561740=events[_0x1be580];var _0x5514c2=createListener(_0xbf7e('0x5')+_0x561740,_0x2b10f4);UserEvents['on'](_0x561740,_0x5514c2);}};
\ No newline at end of file