Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / plugin / plugin.socket.js
index 8b3183c..f5bfda9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd145=['remove','update','emit','removeListener','length','./plugin.events','save'];(function(_0x36127e,_0x1977c1){var _0x44c2e5=function(_0x271269){while(--_0x271269){_0x36127e['push'](_0x36127e['shift']());}};_0x44c2e5(++_0x1977c1);}(_0xd145,0x140));var _0x5d14=function(_0x137f9,_0x6cb698){_0x137f9=_0x137f9-0x0;var _0x27f894=_0xd145[_0x137f9];return _0x27f894;};'use strict';var PluginEvents=require(_0x5d14('0x0'));var events=[_0x5d14('0x1'),_0x5d14('0x2'),_0x5d14('0x3')];function createListener(_0x5057fe,_0x59c78d){return function(_0x42bcbb){_0x59c78d[_0x5d14('0x4')](_0x5057fe,_0x42bcbb);};}function removeListener(_0x3d3af3,_0x4eff9a){return function(){PluginEvents[_0x5d14('0x5')](_0x3d3af3,_0x4eff9a);};}exports['register']=function(_0x50e5a8){for(var _0x59b5f3=0x0,_0x52bf21=events[_0x5d14('0x6')];_0x59b5f3<_0x52bf21;_0x59b5f3++){var _0x27f37b=events[_0x59b5f3];var _0x401529=createListener('plugin:'+_0x27f37b,_0x50e5a8);PluginEvents['on'](_0x27f37b,_0x401529);}};
\ No newline at end of file
+var _0x252a=['update','emit','removeListener','./plugin.events'];(function(_0x3a441b,_0x288e89){var _0x2f16a4=function(_0x4e6b27){while(--_0x4e6b27){_0x3a441b['push'](_0x3a441b['shift']());}};_0x2f16a4(++_0x288e89);}(_0x252a,0xbb));var _0xa252=function(_0x89c32e,_0x253099){_0x89c32e=_0x89c32e-0x0;var _0x28760a=_0x252a[_0x89c32e];return _0x28760a;};'use strict';var PluginEvents=require(_0xa252('0x0'));var events=['save','remove',_0xa252('0x1')];function createListener(_0x662fab,_0x4ef567){return function(_0x234a4d){_0x4ef567[_0xa252('0x2')](_0x662fab,_0x234a4d);};}function removeListener(_0x18c4f5,_0x58a665){return function(){PluginEvents[_0xa252('0x3')](_0x18c4f5,_0x58a665);};}exports['register']=function(_0x33ac05){for(var _0x4c3456=0x0,_0x518d1e=events['length'];_0x4c3456<_0x518d1e;_0x4c3456++){var _0x21f89a=events[_0x4c3456];var _0x5118ed=createListener('plugin:'+_0x21f89a,_0x33ac05);PluginEvents['on'](_0x21f89a,_0x5118ed);}};
\ No newline at end of file