X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmList%2FcmList.socket.js;fp=server%2Fapi%2FcmList%2FcmList.socket.js;h=bcb48fab1f986f072b245e859a2d305b1014748a;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=1a3e302191aa07a76b70f372c27a4784ee07631c;hpb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;p=motion2.git diff --git a/server/api/cmList/cmList.socket.js b/server/api/cmList/cmList.socket.js index 1a3e302..bcb48fa 100644 --- a/server/api/cmList/cmList.socket.js +++ b/server/api/cmList/cmList.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1413=['update','removeListener','register','length','cmList:','./cmList.events','save','remove'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x1413,0x145));var _0x3141=function(_0x5454f3,_0x25585e){_0x5454f3=_0x5454f3-0x0;var _0x402fc1=_0x1413[_0x5454f3];return _0x402fc1;};'use strict';var CmListEvents=require(_0x3141('0x0'));var events=[_0x3141('0x1'),_0x3141('0x2'),_0x3141('0x3')];function createListener(_0x2a2bf6,_0x4f973){return function(_0x3c067c){_0x4f973['emit'](_0x2a2bf6,_0x3c067c);};}function removeListener(_0x2b3277,_0x4e9a61){return function(){CmListEvents[_0x3141('0x4')](_0x2b3277,_0x4e9a61);};}exports[_0x3141('0x5')]=function(_0x53b555){for(var _0x31ea05=0x0,_0x4b8161=events[_0x3141('0x6')];_0x31ea05<_0x4b8161;_0x31ea05++){var _0x2aac97=events[_0x31ea05];var _0x4cd48c=createListener(_0x3141('0x7')+_0x2aac97,_0x53b555);CmListEvents['on'](_0x2aac97,_0x4cd48c);}}; \ No newline at end of file +var _0x2882=['./cmList.events','remove','update','register','cmList:'];(function(_0x36ed48,_0x1ee0d4){var _0x51c63a=function(_0x2d0a40){while(--_0x2d0a40){_0x36ed48['push'](_0x36ed48['shift']());}};_0x51c63a(++_0x1ee0d4);}(_0x2882,0x1ea));var _0x2288=function(_0x562a3e,_0x291dbd){_0x562a3e=_0x562a3e-0x0;var _0x278ee8=_0x2882[_0x562a3e];return _0x278ee8;};'use strict';var CmListEvents=require(_0x2288('0x0'));var events=['save',_0x2288('0x1'),_0x2288('0x2')];function createListener(_0x6b5549,_0x1ff1cb){return function(_0xa70bd4){_0x1ff1cb['emit'](_0x6b5549,_0xa70bd4);};}function removeListener(_0x473694,_0x3cebab){return function(){CmListEvents['removeListener'](_0x473694,_0x3cebab);};}exports[_0x2288('0x3')]=function(_0x17f200){for(var _0x11be35=0x0,_0x5358b3=events['length'];_0x11be35<_0x5358b3;_0x11be35++){var _0x2c2667=events[_0x11be35];var _0x66661e=createListener(_0x2288('0x4')+_0x2c2667,_0x17f200);CmListEvents['on'](_0x2c2667,_0x66661e);}}; \ No newline at end of file