Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / dashboard / dashboard.socket.js
index 46045da..5554b92 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6ca1=['dashboard:','./dashboard.events','remove','update','removeListener','register'];(function(_0x3511d3,_0x4107ae){var _0x5d6321=function(_0x1a23da){while(--_0x1a23da){_0x3511d3['push'](_0x3511d3['shift']());}};_0x5d6321(++_0x4107ae);}(_0x6ca1,0xfd));var _0x16ca=function(_0x32a9f3,_0x138f1e){_0x32a9f3=_0x32a9f3-0x0;var _0x2355eb=_0x6ca1[_0x32a9f3];return _0x2355eb;};'use strict';var DashboardEvents=require(_0x16ca('0x0'));var events=['save',_0x16ca('0x1'),_0x16ca('0x2')];function createListener(_0x3d70e1,_0x5c4031){return function(_0x39dd04){_0x5c4031['emit'](_0x3d70e1,_0x39dd04);};}function removeListener(_0x4038bb,_0x1eeb68){return function(){DashboardEvents[_0x16ca('0x3')](_0x4038bb,_0x1eeb68);};}exports[_0x16ca('0x4')]=function(_0x181e79){for(var _0x31d2e7=0x0,_0x1722c3=events['length'];_0x31d2e7<_0x1722c3;_0x31d2e7++){var _0x4e2d23=events[_0x31d2e7];var _0x5291a1=createListener(_0x16ca('0x5')+_0x4e2d23,_0x181e79);DashboardEvents['on'](_0x4e2d23,_0x5291a1);}};
\ No newline at end of file
+var _0xe6ff=['update','removeListener','register','save','remove'];(function(_0x125573,_0x522623){var _0x1bf0f2=function(_0x124069){while(--_0x124069){_0x125573['push'](_0x125573['shift']());}};_0x1bf0f2(++_0x522623);}(_0xe6ff,0x1a2));var _0xfe6f=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0xe6ff[_0x1928c9];return _0x51b5fb;};'use strict';var DashboardEvents=require('./dashboard.events');var events=[_0xfe6f('0x0'),_0xfe6f('0x1'),_0xfe6f('0x2')];function createListener(_0x38aa22,_0x18561d){return function(_0x266276){_0x18561d['emit'](_0x38aa22,_0x266276);};}function removeListener(_0x5d06a7,_0x1c29af){return function(){DashboardEvents[_0xfe6f('0x3')](_0x5d06a7,_0x1c29af);};}exports[_0xfe6f('0x4')]=function(_0x13f452){for(var _0x3d98d7=0x0,_0x224de6=events['length'];_0x3d98d7<_0x224de6;_0x3d98d7++){var _0x2cfd2d=events[_0x3d98d7];var _0x4655c7=createListener('dashboard:'+_0x2cfd2d,_0x13f452);DashboardEvents['on'](_0x2cfd2d,_0x4655c7);}};
\ No newline at end of file