Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / cmList / cmList.socket.js
index 82e8923..3e38f02 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x423b=['update','removeListener','length','cmList:','save'];(function(_0x1c8d59,_0x1fbbf6){var _0x3c58d1=function(_0x28444d){while(--_0x28444d){_0x1c8d59['push'](_0x1c8d59['shift']());}};_0x3c58d1(++_0x1fbbf6);}(_0x423b,0x12b));var _0xb423=function(_0x1b6186,_0x1ec7f2){_0x1b6186=_0x1b6186-0x0;var _0x186121=_0x423b[_0x1b6186];return _0x186121;};'use strict';var CmListEvents=require('./cmList.events');var events=[_0xb423('0x0'),'remove',_0xb423('0x1')];function createListener(_0x54e396,_0x3dbb0c){return function(_0x4b4acf){_0x3dbb0c['emit'](_0x54e396,_0x4b4acf);};}function removeListener(_0x50f31a,_0x2fa5da){return function(){CmListEvents[_0xb423('0x2')](_0x50f31a,_0x2fa5da);};}exports['register']=function(_0x1be92e){for(var _0x3e6b18=0x0,_0x49eabb=events[_0xb423('0x3')];_0x3e6b18<_0x49eabb;_0x3e6b18++){var _0x573e95=events[_0x3e6b18];var _0x4119d7=createListener(_0xb423('0x4')+_0x573e95,_0x1be92e);CmListEvents['on'](_0x573e95,_0x4119d7);}};
\ No newline at end of file
+var _0xcfb1=['update','emit','register','length','cmList:','./cmList.events','remove'];(function(_0x3ccda2,_0x4b05f0){var _0x4a7db0=function(_0x17d0a5){while(--_0x17d0a5){_0x3ccda2['push'](_0x3ccda2['shift']());}};_0x4a7db0(++_0x4b05f0);}(_0xcfb1,0x140));var _0x1cfb=function(_0x24bcc1,_0x2be915){_0x24bcc1=_0x24bcc1-0x0;var _0x4ccb4a=_0xcfb1[_0x24bcc1];return _0x4ccb4a;};'use strict';var CmListEvents=require(_0x1cfb('0x0'));var events=['save',_0x1cfb('0x1'),_0x1cfb('0x2')];function createListener(_0x5deea5,_0x254f44){return function(_0xd01577){_0x254f44[_0x1cfb('0x3')](_0x5deea5,_0xd01577);};}function removeListener(_0x2675b4,_0x1cc3e1){return function(){CmListEvents['removeListener'](_0x2675b4,_0x1cc3e1);};}exports[_0x1cfb('0x4')]=function(_0x21c924){for(var _0x4afb19=0x0,_0x21f136=events[_0x1cfb('0x5')];_0x4afb19<_0x21f136;_0x4afb19++){var _0xfdc994=events[_0x4afb19];var _0x22ab0f=createListener(_0x1cfb('0x6')+_0xfdc994,_0x21c924);CmListEvents['on'](_0xfdc994,_0x22ab0f);}};
\ No newline at end of file