Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / cmList / cmList.socket.js
index b73a1c3..1774a95 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x34aa=['update','emit','removeListener','register','length','./cmList.events','remove'];(function(_0x46b22a,_0x5bf83a){var _0x44c2e8=function(_0x21b6fc){while(--_0x21b6fc){_0x46b22a['push'](_0x46b22a['shift']());}};_0x44c2e8(++_0x5bf83a);}(_0x34aa,0x171));var _0xa34a=function(_0x33ebf5,_0x258ec6){_0x33ebf5=_0x33ebf5-0x0;var _0x66957b=_0x34aa[_0x33ebf5];return _0x66957b;};'use strict';var CmListEvents=require(_0xa34a('0x0'));var events=['save',_0xa34a('0x1'),_0xa34a('0x2')];function createListener(_0xbb3857,_0x1fc924){return function(_0x496e55){_0x1fc924[_0xa34a('0x3')](_0xbb3857,_0x496e55);};}function removeListener(_0x30f3a2,_0x284561){return function(){CmListEvents[_0xa34a('0x4')](_0x30f3a2,_0x284561);};}exports[_0xa34a('0x5')]=function(_0x475f8f){for(var _0x27349c=0x0,_0x43f9ea=events[_0xa34a('0x6')];_0x27349c<_0x43f9ea;_0x27349c++){var _0x45f2b4=events[_0x27349c];var _0x467864=createListener('cmList:'+_0x45f2b4,_0x475f8f);CmListEvents['on'](_0x45f2b4,_0x467864);}};
\ No newline at end of file
+var _0x1f03=['update','removeListener','length','save','remove'];(function(_0x2c9780,_0x2f528d){var _0x3fafe5=function(_0x208c30){while(--_0x208c30){_0x2c9780['push'](_0x2c9780['shift']());}};_0x3fafe5(++_0x2f528d);}(_0x1f03,0xe9));var _0x31f0=function(_0xab69fa,_0x211436){_0xab69fa=_0xab69fa-0x0;var _0x5abb4c=_0x1f03[_0xab69fa];return _0x5abb4c;};'use strict';var CmListEvents=require('./cmList.events');var events=[_0x31f0('0x0'),_0x31f0('0x1'),_0x31f0('0x2')];function createListener(_0xdc89ce,_0x5ddf8e){return function(_0x401366){_0x5ddf8e['emit'](_0xdc89ce,_0x401366);};}function removeListener(_0x477d7c,_0x221823){return function(){CmListEvents[_0x31f0('0x3')](_0x477d7c,_0x221823);};}exports['register']=function(_0x4869a0){for(var _0x3064bb=0x0,_0x7ff6be=events[_0x31f0('0x4')];_0x3064bb<_0x7ff6be;_0x3064bb++){var _0x2ebce1=events[_0x3064bb];var _0x291253=createListener('cmList:'+_0x2ebce1,_0x4869a0);CmListEvents['on'](_0x2ebce1,_0x291253);}};
\ No newline at end of file