Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / plugin / plugin.socket.js
index ce2e066..158bd30 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 _0x59ae=['length','plugin:','./plugin.events','save','remove','update','removeListener'];(function(_0x566148,_0x394b29){var _0xd4cb24=function(_0x2cf027){while(--_0x2cf027){_0x566148['push'](_0x566148['shift']());}};_0xd4cb24(++_0x394b29);}(_0x59ae,0x1b4));var _0xe59a=function(_0xa24337,_0x3f9365){_0xa24337=_0xa24337-0x0;var _0x259e4b=_0x59ae[_0xa24337];return _0x259e4b;};'use strict';var PluginEvents=require(_0xe59a('0x0'));var events=[_0xe59a('0x1'),_0xe59a('0x2'),_0xe59a('0x3')];function createListener(_0x55a3fd,_0x23acf5){return function(_0x27da1d){_0x23acf5['emit'](_0x55a3fd,_0x27da1d);};}function removeListener(_0x4509cd,_0x2bab52){return function(){PluginEvents[_0xe59a('0x4')](_0x4509cd,_0x2bab52);};}exports['register']=function(_0x508c18){for(var _0x45a6a8=0x0,_0x35f8e2=events[_0xe59a('0x5')];_0x45a6a8<_0x35f8e2;_0x45a6a8++){var _0x41d2ae=events[_0x45a6a8];var _0x196e43=createListener(_0xe59a('0x6')+_0x41d2ae,_0x508c18);PluginEvents['on'](_0x41d2ae,_0x196e43);}};
\ No newline at end of file