Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / plugin / plugin.socket.js
index 04821c0..c718c32 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xab0d=['length','plugin:','./plugin.events','save','remove','update','removeListener'];(function(_0x1b0f54,_0xf5bc6a){var _0x4ade7d=function(_0x312ccb){while(--_0x312ccb){_0x1b0f54['push'](_0x1b0f54['shift']());}};_0x4ade7d(++_0xf5bc6a);}(_0xab0d,0xc6));var _0xdab0=function(_0x9ab8ac,_0x7ea1ca){_0x9ab8ac=_0x9ab8ac-0x0;var _0x2e4899=_0xab0d[_0x9ab8ac];return _0x2e4899;};'use strict';var PluginEvents=require(_0xdab0('0x0'));var events=[_0xdab0('0x1'),_0xdab0('0x2'),_0xdab0('0x3')];function createListener(_0x1fd561,_0x3b830b){return function(_0x2b2f13){_0x3b830b['emit'](_0x1fd561,_0x2b2f13);};}function removeListener(_0x3d726b,_0x3a7a73){return function(){PluginEvents[_0xdab0('0x4')](_0x3d726b,_0x3a7a73);};}exports['register']=function(_0x57a832){for(var _0x51e928=0x0,_0x36b29c=events[_0xdab0('0x5')];_0x51e928<_0x36b29c;_0x51e928++){var _0x5571e5=events[_0x51e928];var _0x2f960d=createListener(_0xdab0('0x6')+_0x5571e5,_0x57a832);PluginEvents['on'](_0x5571e5,_0x2f960d);}};
\ No newline at end of file
+var _0xedd0=['removeListener','register','plugin:','./plugin.events','save','remove','emit'];(function(_0x1f1837,_0x4b304e){var _0x25ab57=function(_0x4dec8c){while(--_0x4dec8c){_0x1f1837['push'](_0x1f1837['shift']());}};_0x25ab57(++_0x4b304e);}(_0xedd0,0x6c));var _0x0edd=function(_0x2404b3,_0x1b9a06){_0x2404b3=_0x2404b3-0x0;var _0x3a07e6=_0xedd0[_0x2404b3];return _0x3a07e6;};'use strict';var PluginEvents=require(_0x0edd('0x0'));var events=[_0x0edd('0x1'),_0x0edd('0x2'),'update'];function createListener(_0x3ce903,_0x122d32){return function(_0x984448){_0x122d32[_0x0edd('0x3')](_0x3ce903,_0x984448);};}function removeListener(_0x374420,_0x1ba858){return function(){PluginEvents[_0x0edd('0x4')](_0x374420,_0x1ba858);};}exports[_0x0edd('0x5')]=function(_0x163bfa){for(var _0x3e9218=0x0,_0x3edcb9=events['length'];_0x3e9218<_0x3edcb9;_0x3e9218++){var _0x253349=events[_0x3e9218];var _0x58424b=createListener(_0x0edd('0x6')+_0x253349,_0x163bfa);PluginEvents['on'](_0x253349,_0x58424b);}};
\ No newline at end of file