Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / team / team.socket.js
index 040095b..608d566 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x13f7=['emit','./team.events','save','remove','update'];(function(_0x274c57,_0x21d3de){var _0x4a5be1=function(_0x414558){while(--_0x414558){_0x274c57['push'](_0x274c57['shift']());}};_0x4a5be1(++_0x21d3de);}(_0x13f7,0x164));var _0x713f=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x13f7[_0x20a584];return _0x4b41a8;};'use strict';var TeamEvents=require(_0x713f('0x0'));var events=[_0x713f('0x1'),_0x713f('0x2'),_0x713f('0x3')];function createListener(_0x5df4df,_0x979621){return function(_0x485551){_0x979621[_0x713f('0x4')](_0x5df4df,_0x485551);};}function removeListener(_0x241a8f,_0x3bcf08){return function(){TeamEvents['removeListener'](_0x241a8f,_0x3bcf08);};}exports['register']=function(_0x5ea16f){for(var _0x463eea=0x0,_0x2571f6=events['length'];_0x463eea<_0x2571f6;_0x463eea++){var _0x4f7a31=events[_0x463eea];var _0x2a47f5=createListener('team:'+_0x4f7a31,_0x5ea16f);TeamEvents['on'](_0x4f7a31,_0x2a47f5);}};
\ No newline at end of file
+var _0x605f=['length','team:','save','remove','emit','removeListener','register'];(function(_0x26462c,_0xd20a35){var _0x509a42=function(_0x1b22c9){while(--_0x1b22c9){_0x26462c['push'](_0x26462c['shift']());}};_0x509a42(++_0xd20a35);}(_0x605f,0x1a6));var _0xf605=function(_0x560f89,_0x4e14fc){_0x560f89=_0x560f89-0x0;var _0x4b0894=_0x605f[_0x560f89];return _0x4b0894;};'use strict';var TeamEvents=require('./team.events');var events=[_0xf605('0x0'),_0xf605('0x1'),'update'];function createListener(_0x40d4df,_0x173e83){return function(_0x5acb7f){_0x173e83[_0xf605('0x2')](_0x40d4df,_0x5acb7f);};}function removeListener(_0x12242b,_0x5bcbc6){return function(){TeamEvents[_0xf605('0x3')](_0x12242b,_0x5bcbc6);};}exports[_0xf605('0x4')]=function(_0x1846c3){for(var _0x5e7304=0x0,_0x1bdca3=events[_0xf605('0x5')];_0x5e7304<_0x1bdca3;_0x5e7304++){var _0x3b5bbe=events[_0x5e7304];var _0x2fe81e=createListener(_0xf605('0x6')+_0x3b5bbe,_0x1846c3);TeamEvents['on'](_0x3b5bbe,_0x2fe81e);}};
\ No newline at end of file