Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / plugin / plugin.socket.js
index f7d91bb..a85cf7f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf770=['remove','update','emit','removeListener','register','length','plugin:','./plugin.events','save'];(function(_0x1509f7,_0x2fc1d2){var _0x3211a0=function(_0x204f7d){while(--_0x204f7d){_0x1509f7['push'](_0x1509f7['shift']());}};_0x3211a0(++_0x2fc1d2);}(_0xf770,0x178));var _0x0f77=function(_0x2f4307,_0xe992da){_0x2f4307=_0x2f4307-0x0;var _0x2c74cf=_0xf770[_0x2f4307];return _0x2c74cf;};'use strict';var PluginEvents=require(_0x0f77('0x0'));var events=[_0x0f77('0x1'),_0x0f77('0x2'),_0x0f77('0x3')];function createListener(_0x3d58d3,_0x5d944f){return function(_0x330d40){_0x5d944f[_0x0f77('0x4')](_0x3d58d3,_0x330d40);};}function removeListener(_0x593c67,_0x3a1926){return function(){PluginEvents[_0x0f77('0x5')](_0x593c67,_0x3a1926);};}exports[_0x0f77('0x6')]=function(_0x15d7aa){for(var _0x1009ba=0x0,_0x34a67c=events[_0x0f77('0x7')];_0x1009ba<_0x34a67c;_0x1009ba++){var _0x280471=events[_0x1009ba];var _0x41b666=createListener(_0x0f77('0x8')+_0x280471,_0x15d7aa);PluginEvents['on'](_0x280471,_0x41b666);}};
\ No newline at end of file
+var _0x56f3=['removeListener','register','length','./plugin.events','save','remove','update','emit'];(function(_0x15feb5,_0x3610ad){var _0x7a46f0=function(_0x28f1a5){while(--_0x28f1a5){_0x15feb5['push'](_0x15feb5['shift']());}};_0x7a46f0(++_0x3610ad);}(_0x56f3,0x1eb));var _0x356f=function(_0x801480,_0x118504){_0x801480=_0x801480-0x0;var _0x4cf024=_0x56f3[_0x801480];return _0x4cf024;};'use strict';var PluginEvents=require(_0x356f('0x0'));var events=[_0x356f('0x1'),_0x356f('0x2'),_0x356f('0x3')];function createListener(_0x943243,_0x2bfa29){return function(_0x354530){_0x2bfa29[_0x356f('0x4')](_0x943243,_0x354530);};}function removeListener(_0x1f0458,_0x154b9f){return function(){PluginEvents[_0x356f('0x5')](_0x1f0458,_0x154b9f);};}exports[_0x356f('0x6')]=function(_0x304e57){for(var _0x29b3d9=0x0,_0x20ecc6=events[_0x356f('0x7')];_0x29b3d9<_0x20ecc6;_0x29b3d9++){var _0x115fa2=events[_0x29b3d9];var _0x34c648=createListener('plugin:'+_0x115fa2,_0x304e57);PluginEvents['on'](_0x115fa2,_0x34c648);}};
\ No newline at end of file