Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / plugin / plugin.socket.js
index 4fcb635..9db162b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xffc8=['removeListener','length','plugin:','remove','update'];(function(_0x57a1d1,_0x4675aa){var _0x50b9ce=function(_0x33576c){while(--_0x33576c){_0x57a1d1['push'](_0x57a1d1['shift']());}};_0x50b9ce(++_0x4675aa);}(_0xffc8,0x111));var _0x8ffc=function(_0x2828a2,_0x10be4b){_0x2828a2=_0x2828a2-0x0;var _0xf5be16=_0xffc8[_0x2828a2];return _0xf5be16;};'use strict';var PluginEvents=require('./plugin.events');var events=['save',_0x8ffc('0x0'),_0x8ffc('0x1')];function createListener(_0x1b0b87,_0x242cb5){return function(_0x385192){_0x242cb5['emit'](_0x1b0b87,_0x385192);};}function removeListener(_0x534266,_0x51ecac){return function(){PluginEvents[_0x8ffc('0x2')](_0x534266,_0x51ecac);};}exports['register']=function(_0x1a820e){for(var _0x20aea6=0x0,_0x5afcd7=events[_0x8ffc('0x3')];_0x20aea6<_0x5afcd7;_0x20aea6++){var _0x3e2dff=events[_0x20aea6];var _0x52067e=createListener(_0x8ffc('0x4')+_0x3e2dff,_0x1a820e);PluginEvents['on'](_0x3e2dff,_0x52067e);}};
\ No newline at end of file
+var _0xbd7b=['length','plugin:','save','remove','update','emit','removeListener'];(function(_0x316c42,_0x3391f0){var _0x2b38f7=function(_0x38d2cf){while(--_0x38d2cf){_0x316c42['push'](_0x316c42['shift']());}};_0x2b38f7(++_0x3391f0);}(_0xbd7b,0xd4));var _0xbbd7=function(_0x5dc0c5,_0x4c2e85){_0x5dc0c5=_0x5dc0c5-0x0;var _0x218d06=_0xbd7b[_0x5dc0c5];return _0x218d06;};'use strict';var PluginEvents=require('./plugin.events');var events=[_0xbbd7('0x0'),_0xbbd7('0x1'),_0xbbd7('0x2')];function createListener(_0x1d613a,_0x2450ec){return function(_0x41a7b5){_0x2450ec[_0xbbd7('0x3')](_0x1d613a,_0x41a7b5);};}function removeListener(_0x59ca0f,_0x11bf1b){return function(){PluginEvents[_0xbbd7('0x4')](_0x59ca0f,_0x11bf1b);};}exports['register']=function(_0x5c76fb){for(var _0xf74810=0x0,_0x11b17d=events[_0xbbd7('0x5')];_0xf74810<_0x11b17d;_0xf74810++){var _0x4383fd=events[_0xf74810];var _0x1713b1=createListener(_0xbbd7('0x6')+_0x4383fd,_0x5c76fb);PluginEvents['on'](_0x4383fd,_0x1713b1);}};
\ No newline at end of file