Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / plugin / plugin.socket.js
index 0c2fd9c..c779e5c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4d54=['update','emit','length','plugin:','./plugin.events','save'];(function(_0x3aaf0a,_0x450970){var _0x33e6bc=function(_0x1db54d){while(--_0x1db54d){_0x3aaf0a['push'](_0x3aaf0a['shift']());}};_0x33e6bc(++_0x450970);}(_0x4d54,0x1d2));var _0x44d5=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x4d54[_0x19950b];return _0x3c6b41;};'use strict';var PluginEvents=require(_0x44d5('0x0'));var events=[_0x44d5('0x1'),'remove',_0x44d5('0x2')];function createListener(_0x357433,_0x2cfb37){return function(_0x3f00d2){_0x2cfb37[_0x44d5('0x3')](_0x357433,_0x3f00d2);};}function removeListener(_0x3c505f,_0x193123){return function(){PluginEvents['removeListener'](_0x3c505f,_0x193123);};}exports['register']=function(_0x1f1333){for(var _0x189aa0=0x0,_0x32987c=events[_0x44d5('0x4')];_0x189aa0<_0x32987c;_0x189aa0++){var _0x4f072f=events[_0x189aa0];var _0x3a2a65=createListener(_0x44d5('0x5')+_0x4f072f,_0x1f1333);PluginEvents['on'](_0x4f072f,_0x3a2a65);}};
\ No newline at end of file
+var _0xed88=['register','length','plugin:','./plugin.events','save','remove','update','removeListener'];(function(_0x49e72d,_0xb719e0){var _0x23008a=function(_0x3896f1){while(--_0x3896f1){_0x49e72d['push'](_0x49e72d['shift']());}};_0x23008a(++_0xb719e0);}(_0xed88,0x13b));var _0x8ed8=function(_0x31a9b9,_0x1cc7fc){_0x31a9b9=_0x31a9b9-0x0;var _0x33827f=_0xed88[_0x31a9b9];return _0x33827f;};'use strict';var PluginEvents=require(_0x8ed8('0x0'));var events=[_0x8ed8('0x1'),_0x8ed8('0x2'),_0x8ed8('0x3')];function createListener(_0x407d4c,_0x1f6b46){return function(_0x12c50a){_0x1f6b46['emit'](_0x407d4c,_0x12c50a);};}function removeListener(_0x2a375e,_0x5944de){return function(){PluginEvents[_0x8ed8('0x4')](_0x2a375e,_0x5944de);};}exports[_0x8ed8('0x5')]=function(_0x369b5b){for(var _0x551704=0x0,_0xbd53d8=events[_0x8ed8('0x6')];_0x551704<_0xbd53d8;_0x551704++){var _0x2640ef=events[_0x551704];var _0x58b791=createListener(_0x8ed8('0x7')+_0x2640ef,_0x369b5b);PluginEvents['on'](_0x2640ef,_0x58b791);}};
\ No newline at end of file