Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / notification / notification.socket.js
index d888823..60ba7c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc307=['length','notification:','save','remove','update','removeListener'];(function(_0x3ca71c,_0x3370b2){var _0x699178=function(_0x17fbe6){while(--_0x17fbe6){_0x3ca71c['push'](_0x3ca71c['shift']());}};_0x699178(++_0x3370b2);}(_0xc307,0x6e));var _0x7c30=function(_0x1b96d9,_0x171cc3){_0x1b96d9=_0x1b96d9-0x0;var _0x3fa8c1=_0xc307[_0x1b96d9];return _0x3fa8c1;};'use strict';var NotificationEvents=require('./notification.events');var events=[_0x7c30('0x0'),_0x7c30('0x1'),_0x7c30('0x2')];function createListener(_0x4eae69,_0x4aa300){return function(_0x3c2b31){_0x4aa300['emit'](_0x4eae69,_0x3c2b31);};}function removeListener(_0xe4b049,_0x5028aa){return function(){NotificationEvents[_0x7c30('0x3')](_0xe4b049,_0x5028aa);};}exports['register']=function(_0x2a3666){for(var _0x3d357b=0x0,_0xe048a1=events[_0x7c30('0x4')];_0x3d357b<_0xe048a1;_0x3d357b++){var _0x491d12=events[_0x3d357b];var _0x2fbe90=createListener(_0x7c30('0x5')+_0x491d12,_0x2a3666);NotificationEvents['on'](_0x491d12,_0x2fbe90);}};
\ No newline at end of file
+var _0x8a0a=['./notification.events','remove','update','emit','register','length'];(function(_0x5608a3,_0x5b33c5){var _0x1ed50a=function(_0x959171){while(--_0x959171){_0x5608a3['push'](_0x5608a3['shift']());}};_0x1ed50a(++_0x5b33c5);}(_0x8a0a,0xe4));var _0xa8a0=function(_0x4f4032,_0x51b8ca){_0x4f4032=_0x4f4032-0x0;var _0x3c4068=_0x8a0a[_0x4f4032];return _0x3c4068;};'use strict';var NotificationEvents=require(_0xa8a0('0x0'));var events=['save',_0xa8a0('0x1'),_0xa8a0('0x2')];function createListener(_0x1ef082,_0x364d82){return function(_0x198720){_0x364d82[_0xa8a0('0x3')](_0x1ef082,_0x198720);};}function removeListener(_0x29b641,_0x45179f){return function(){NotificationEvents['removeListener'](_0x29b641,_0x45179f);};}exports[_0xa8a0('0x4')]=function(_0x15f131){for(var _0x287336=0x0,_0x436fed=events[_0xa8a0('0x5')];_0x287336<_0x436fed;_0x287336++){var _0x33c6bf=events[_0x287336];var _0x2ae92d=createListener('notification:'+_0x33c6bf,_0x15f131);NotificationEvents['on'](_0x33c6bf,_0x2ae92d);}};
\ No newline at end of file