Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / plugin / plugin.socket.js
index 56291a8..7359ae7 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 _0xecb9=['./plugin.events','save','remove','update','emit','removeListener','register','length','plugin:'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0xecb9,0x90));var _0x9ecb=function(_0x5b4c44,_0x2e495e){_0x5b4c44=_0x5b4c44-0x0;var _0x58485a=_0xecb9[_0x5b4c44];return _0x58485a;};'use strict';var PluginEvents=require(_0x9ecb('0x0'));var events=[_0x9ecb('0x1'),_0x9ecb('0x2'),_0x9ecb('0x3')];function createListener(_0x3d82b8,_0x40ec2a){return function(_0x4d88bf){_0x40ec2a[_0x9ecb('0x4')](_0x3d82b8,_0x4d88bf);};}function removeListener(_0x2c36f8,_0xe7342d){return function(){PluginEvents[_0x9ecb('0x5')](_0x2c36f8,_0xe7342d);};}exports[_0x9ecb('0x6')]=function(_0x2a7a55){for(var _0x23f787=0x0,_0x7e35fd=events[_0x9ecb('0x7')];_0x23f787<_0x7e35fd;_0x23f787++){var _0x234bf2=events[_0x23f787];var _0x3cf98e=createListener(_0x9ecb('0x8')+_0x234bf2,_0x2a7a55);PluginEvents['on'](_0x234bf2,_0x3cf98e);}};
\ No newline at end of file