Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / dashboard / dashboard.socket.js
index 64a0718..2d00e83 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf749=['remove','update','emit','removeListener','length','dashboard:','./dashboard.events','save'];(function(_0x1e05c1,_0x3cffa3){var _0x15f1ca=function(_0x3a9594){while(--_0x3a9594){_0x1e05c1['push'](_0x1e05c1['shift']());}};_0x15f1ca(++_0x3cffa3);}(_0xf749,0x1de));var _0x9f74=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0xf749[_0x4e676e];return _0x336a3c;};'use strict';var DashboardEvents=require(_0x9f74('0x0'));var events=[_0x9f74('0x1'),_0x9f74('0x2'),_0x9f74('0x3')];function createListener(_0x51a983,_0x46af12){return function(_0x6bb73c){_0x46af12[_0x9f74('0x4')](_0x51a983,_0x6bb73c);};}function removeListener(_0x130467,_0x44e883){return function(){DashboardEvents[_0x9f74('0x5')](_0x130467,_0x44e883);};}exports['register']=function(_0x197fda){for(var _0x41e4b8=0x0,_0x14c70d=events[_0x9f74('0x6')];_0x41e4b8<_0x14c70d;_0x41e4b8++){var _0x194f9a=events[_0x41e4b8];var _0x465b9b=createListener(_0x9f74('0x7')+_0x194f9a,_0x197fda);DashboardEvents['on'](_0x194f9a,_0x465b9b);}};
\ No newline at end of file
+var _0x2fb5=['length','dashboard:','save'];(function(_0xfa40d4,_0x46ddfd){var _0x4ec33e=function(_0x5ebd2d){while(--_0x5ebd2d){_0xfa40d4['push'](_0xfa40d4['shift']());}};_0x4ec33e(++_0x46ddfd);}(_0x2fb5,0xf8));var _0x52fb=function(_0x40ac5e,_0x2de228){_0x40ac5e=_0x40ac5e-0x0;var _0x2839d6=_0x2fb5[_0x40ac5e];return _0x2839d6;};'use strict';var DashboardEvents=require('./dashboard.events');var events=[_0x52fb('0x0'),'remove','update'];function createListener(_0x35a8fc,_0x230dda){return function(_0x149e79){_0x230dda['emit'](_0x35a8fc,_0x149e79);};}function removeListener(_0x3722ad,_0x4bdcb8){return function(){DashboardEvents['removeListener'](_0x3722ad,_0x4bdcb8);};}exports['register']=function(_0x3fcda6){for(var _0x5889cf=0x0,_0x3d3078=events[_0x52fb('0x1')];_0x5889cf<_0x3d3078;_0x5889cf++){var _0x390c21=events[_0x5889cf];var _0x396db9=createListener(_0x52fb('0x2')+_0x390c21,_0x3fcda6);DashboardEvents['on'](_0x390c21,_0x396db9);}};
\ No newline at end of file