Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / plugin / plugin.socket.js
index 56291a8..177568b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x21dc=['plugin:','./plugin.events','remove','update','removeListener','length'];(function(_0x36ec26,_0x4aa4de){var _0x1238ec=function(_0x47d51c){while(--_0x47d51c){_0x36ec26['push'](_0x36ec26['shift']());}};_0x1238ec(++_0x4aa4de);}(_0x21dc,0x151));var _0xc21d=function(_0x3b115f,_0x47c19b){_0x3b115f=_0x3b115f-0x0;var _0x2c5b83=_0x21dc[_0x3b115f];return _0x2c5b83;};'use strict';var PluginEvents=require(_0xc21d('0x0'));var events=['save',_0xc21d('0x1'),_0xc21d('0x2')];function createListener(_0x25ec88,_0x31b776){return function(_0x27e8b1){_0x31b776['emit'](_0x25ec88,_0x27e8b1);};}function removeListener(_0xb24ebb,_0x59bd33){return function(){PluginEvents[_0xc21d('0x3')](_0xb24ebb,_0x59bd33);};}exports['register']=function(_0x5c8c04){for(var _0x415782=0x0,_0x2386aa=events[_0xc21d('0x4')];_0x415782<_0x2386aa;_0x415782++){var _0x448ac7=events[_0x415782];var _0x277c37=createListener(_0xc21d('0x5')+_0x448ac7,_0x5c8c04);PluginEvents['on'](_0x448ac7,_0x277c37);}};
\ No newline at end of file
+var _0xd7fb=['emit','register','length','./plugin.events','remove'];(function(_0x4565e7,_0x6446e3){var _0x14fd0a=function(_0x2ba136){while(--_0x2ba136){_0x4565e7['push'](_0x4565e7['shift']());}};_0x14fd0a(++_0x6446e3);}(_0xd7fb,0x10c));var _0xbd7f=function(_0x153338,_0x324298){_0x153338=_0x153338-0x0;var _0x517d70=_0xd7fb[_0x153338];return _0x517d70;};'use strict';var PluginEvents=require(_0xbd7f('0x0'));var events=['save',_0xbd7f('0x1'),'update'];function createListener(_0x4ddce9,_0x767deb){return function(_0x176c85){_0x767deb[_0xbd7f('0x2')](_0x4ddce9,_0x176c85);};}function removeListener(_0x37c911,_0x325ce2){return function(){PluginEvents['removeListener'](_0x37c911,_0x325ce2);};}exports[_0xbd7f('0x3')]=function(_0x37e99c){for(var _0x437d24=0x0,_0x5682f3=events[_0xbd7f('0x4')];_0x437d24<_0x5682f3;_0x437d24++){var _0x4ccb74=events[_0x437d24];var _0x346f41=createListener('plugin:'+_0x4ccb74,_0x37e99c);PluginEvents['on'](_0x4ccb74,_0x346f41);}};
\ No newline at end of file