Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / plugin / plugin.socket.js
index 5c2a442..9db162b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x15da=['register','plugin:','save','remove','removeListener'];(function(_0x429e7e,_0x5ae693){var _0x22c7d7=function(_0x1d4c77){while(--_0x1d4c77){_0x429e7e['push'](_0x429e7e['shift']());}};_0x22c7d7(++_0x5ae693);}(_0x15da,0x98));var _0xa15d=function(_0x70fd53,_0x2a95a6){_0x70fd53=_0x70fd53-0x0;var _0x4b71c5=_0x15da[_0x70fd53];return _0x4b71c5;};'use strict';var PluginEvents=require('./plugin.events');var events=[_0xa15d('0x0'),_0xa15d('0x1'),'update'];function createListener(_0x588b5d,_0x3732f8){return function(_0x4c3a05){_0x3732f8['emit'](_0x588b5d,_0x4c3a05);};}function removeListener(_0x17347b,_0x29ea56){return function(){PluginEvents[_0xa15d('0x2')](_0x17347b,_0x29ea56);};}exports[_0xa15d('0x3')]=function(_0x375c1a){for(var _0x40dd5e=0x0,_0x30bee4=events['length'];_0x40dd5e<_0x30bee4;_0x40dd5e++){var _0x2c5c74=events[_0x40dd5e];var _0x46896d=createListener(_0xa15d('0x4')+_0x2c5c74,_0x375c1a);PluginEvents['on'](_0x2c5c74,_0x46896d);}};
\ 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