Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / user / user.socket.js
index 8d7d1ea..867057b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x541f=['save','remove','emit','removeListener','user:','./user.events'];(function(_0x2c8380,_0x16f3ab){var _0x2a9d87=function(_0x4b9026){while(--_0x4b9026){_0x2c8380['push'](_0x2c8380['shift']());}};_0x2a9d87(++_0x16f3ab);}(_0x541f,0xdd));var _0xf541=function(_0x4a7631,_0x2c85b9){_0x4a7631=_0x4a7631-0x0;var _0x1a5a6f=_0x541f[_0x4a7631];return _0x1a5a6f;};'use strict';var UserEvents=require(_0xf541('0x0'));var events=[_0xf541('0x1'),_0xf541('0x2'),'update'];function createListener(_0x20a6e9,_0x206f4d){return function(_0x3f521a){_0x206f4d[_0xf541('0x3')](_0x20a6e9,_0x3f521a);};}function removeListener(_0x2b3287,_0x1faf12){return function(){UserEvents[_0xf541('0x4')](_0x2b3287,_0x1faf12);};}exports['register']=function(_0x4841e9){for(var _0x2e4798=0x0,_0x2244ac=events['length'];_0x2e4798<_0x2244ac;_0x2e4798++){var _0x19479f=events[_0x2e4798];var _0x2a99ba=createListener(_0xf541('0x5')+_0x19479f,_0x4841e9);UserEvents['on'](_0x19479f,_0x2a99ba);}};
\ No newline at end of file
+var _0x6f90=['save','remove','update','emit','removeListener','register','length','user:','./user.events'];(function(_0x24f974,_0x19f818){var _0x297896=function(_0x305e08){while(--_0x305e08){_0x24f974['push'](_0x24f974['shift']());}};_0x297896(++_0x19f818);}(_0x6f90,0x131));var _0x06f9=function(_0x1d04c4,_0x53978b){_0x1d04c4=_0x1d04c4-0x0;var _0x1ac3ed=_0x6f90[_0x1d04c4];return _0x1ac3ed;};'use strict';var UserEvents=require(_0x06f9('0x0'));var events=[_0x06f9('0x1'),_0x06f9('0x2'),_0x06f9('0x3')];function createListener(_0x16496f,_0x14eeb9){return function(_0x4ad675){_0x14eeb9[_0x06f9('0x4')](_0x16496f,_0x4ad675);};}function removeListener(_0x20926f,_0x151f08){return function(){UserEvents[_0x06f9('0x5')](_0x20926f,_0x151f08);};}exports[_0x06f9('0x6')]=function(_0x20c76e){for(var _0x372207=0x0,_0x48da4d=events[_0x06f9('0x7')];_0x372207<_0x48da4d;_0x372207++){var _0x1e24a3=events[_0x372207];var _0x28e578=createListener(_0x06f9('0x8')+_0x1e24a3,_0x20c76e);UserEvents['on'](_0x1e24a3,_0x28e578);}};
\ No newline at end of file