Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / plugin / plugin.socket.js
index ce2e066..f5bfda9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1d82=['plugin:','save','remove','update','emit','register','length'];(function(_0x2eb5bc,_0x4634c6){var _0x51c7b1=function(_0x1af430){while(--_0x1af430){_0x2eb5bc['push'](_0x2eb5bc['shift']());}};_0x51c7b1(++_0x4634c6);}(_0x1d82,0xe1));var _0x21d8=function(_0x4bcc8c,_0x1592ba){_0x4bcc8c=_0x4bcc8c-0x0;var _0x4a2b81=_0x1d82[_0x4bcc8c];return _0x4a2b81;};'use strict';var PluginEvents=require('./plugin.events');var events=[_0x21d8('0x0'),_0x21d8('0x1'),_0x21d8('0x2')];function createListener(_0x449990,_0x997502){return function(_0x1e6584){_0x997502[_0x21d8('0x3')](_0x449990,_0x1e6584);};}function removeListener(_0x43a508,_0x50630a){return function(){PluginEvents['removeListener'](_0x43a508,_0x50630a);};}exports[_0x21d8('0x4')]=function(_0x3439ce){for(var _0x303fc8=0x0,_0xbb8bf5=events[_0x21d8('0x5')];_0x303fc8<_0xbb8bf5;_0x303fc8++){var _0x41f58a=events[_0x303fc8];var _0x3d6eb1=createListener(_0x21d8('0x6')+_0x41f58a,_0x3439ce);PluginEvents['on'](_0x41f58a,_0x3d6eb1);}};
\ 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