Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / plugin / plugin.socket.js
index 4fcb635..c718c32 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xffc8=['removeListener','length','plugin:','remove','update'];(function(_0x57a1d1,_0x4675aa){var _0x50b9ce=function(_0x33576c){while(--_0x33576c){_0x57a1d1['push'](_0x57a1d1['shift']());}};_0x50b9ce(++_0x4675aa);}(_0xffc8,0x111));var _0x8ffc=function(_0x2828a2,_0x10be4b){_0x2828a2=_0x2828a2-0x0;var _0xf5be16=_0xffc8[_0x2828a2];return _0xf5be16;};'use strict';var PluginEvents=require('./plugin.events');var events=['save',_0x8ffc('0x0'),_0x8ffc('0x1')];function createListener(_0x1b0b87,_0x242cb5){return function(_0x385192){_0x242cb5['emit'](_0x1b0b87,_0x385192);};}function removeListener(_0x534266,_0x51ecac){return function(){PluginEvents[_0x8ffc('0x2')](_0x534266,_0x51ecac);};}exports['register']=function(_0x1a820e){for(var _0x20aea6=0x0,_0x5afcd7=events[_0x8ffc('0x3')];_0x20aea6<_0x5afcd7;_0x20aea6++){var _0x3e2dff=events[_0x20aea6];var _0x52067e=createListener(_0x8ffc('0x4')+_0x3e2dff,_0x1a820e);PluginEvents['on'](_0x3e2dff,_0x52067e);}};
\ 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