Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / plugin / plugin.socket.js
index 97480fd..f5bfda9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf9bc=['removeListener','register','plugin:','save','remove'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf9bc,0xc1));var _0xcf9b=function(_0x2189a6,_0x1ffe22){_0x2189a6=_0x2189a6-0x0;var _0x4c1174=_0xf9bc[_0x2189a6];return _0x4c1174;};'use strict';var PluginEvents=require('./plugin.events');var events=[_0xcf9b('0x0'),_0xcf9b('0x1'),'update'];function createListener(_0x15b34e,_0x40daeb){return function(_0xc733a8){_0x40daeb['emit'](_0x15b34e,_0xc733a8);};}function removeListener(_0x47e49c,_0x2dcb4e){return function(){PluginEvents[_0xcf9b('0x2')](_0x47e49c,_0x2dcb4e);};}exports[_0xcf9b('0x3')]=function(_0x5beae7){for(var _0x342cce=0x0,_0x553259=events['length'];_0x342cce<_0x553259;_0x342cce++){var _0x24eb73=events[_0x342cce];var _0x326661=createListener(_0xcf9b('0x4')+_0x24eb73,_0x5beae7);PluginEvents['on'](_0x24eb73,_0x326661);}};
\ No newline at end of file
+var _0x252a=['update','emit','removeListener','./plugin.events'];(function(_0x3a441b,_0x288e89){var _0x2f16a4=function(_0x4e6b27){while(--_0x4e6b27){_0x3a441b['push'](_0x3a441b['shift']());}};_0x2f16a4(++_0x288e89);}(_0x252a,0xbb));var _0xa252=function(_0x89c32e,_0x253099){_0x89c32e=_0x89c32e-0x0;var _0x28760a=_0x252a[_0x89c32e];return _0x28760a;};'use strict';var PluginEvents=require(_0xa252('0x0'));var events=['save','remove',_0xa252('0x1')];function createListener(_0x662fab,_0x4ef567){return function(_0x234a4d){_0x4ef567[_0xa252('0x2')](_0x662fab,_0x234a4d);};}function removeListener(_0x18c4f5,_0x58a665){return function(){PluginEvents[_0xa252('0x3')](_0x18c4f5,_0x58a665);};}exports['register']=function(_0x33ac05){for(var _0x4c3456=0x0,_0x518d1e=events['length'];_0x4c3456<_0x518d1e;_0x4c3456++){var _0x21f89a=events[_0x4c3456];var _0x5118ed=createListener('plugin:'+_0x21f89a,_0x33ac05);PluginEvents['on'](_0x21f89a,_0x5118ed);}};
\ No newline at end of file