Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / notification / notification.socket.js
index 66894fb..1151348 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc507=['remove','update','removeListener','register','length','./notification.events','save'];(function(_0x45346d,_0xffd56b){var _0x5ce7ca=function(_0x27ce87){while(--_0x27ce87){_0x45346d['push'](_0x45346d['shift']());}};_0x5ce7ca(++_0xffd56b);}(_0xc507,0xde));var _0x7c50=function(_0x445c98,_0x132bf7){_0x445c98=_0x445c98-0x0;var _0x2fe913=_0xc507[_0x445c98];return _0x2fe913;};'use strict';var NotificationEvents=require(_0x7c50('0x0'));var events=[_0x7c50('0x1'),_0x7c50('0x2'),_0x7c50('0x3')];function createListener(_0x1eae30,_0xa36d1f){return function(_0x28cb44){_0xa36d1f['emit'](_0x1eae30,_0x28cb44);};}function removeListener(_0x22635b,_0x125192){return function(){NotificationEvents[_0x7c50('0x4')](_0x22635b,_0x125192);};}exports[_0x7c50('0x5')]=function(_0x2bdcdb){for(var _0x1533f4=0x0,_0x400113=events[_0x7c50('0x6')];_0x1533f4<_0x400113;_0x1533f4++){var _0x40eda6=events[_0x1533f4];var _0x46e53f=createListener('notification:'+_0x40eda6,_0x2bdcdb);NotificationEvents['on'](_0x40eda6,_0x46e53f);}};
\ No newline at end of file
+var _0x4c20=['save','remove','update','emit','removeListener','length','notification:','./notification.events'];(function(_0x16d487,_0x2c9aa8){var _0x47a15e=function(_0x3744ab){while(--_0x3744ab){_0x16d487['push'](_0x16d487['shift']());}};_0x47a15e(++_0x2c9aa8);}(_0x4c20,0x187));var _0x04c2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4c20[_0x3dd15e];return _0x231fd0;};'use strict';var NotificationEvents=require(_0x04c2('0x0'));var events=[_0x04c2('0x1'),_0x04c2('0x2'),_0x04c2('0x3')];function createListener(_0x397189,_0x118a3b){return function(_0x591d66){_0x118a3b[_0x04c2('0x4')](_0x397189,_0x591d66);};}function removeListener(_0x21a96a,_0x2ebb18){return function(){NotificationEvents[_0x04c2('0x5')](_0x21a96a,_0x2ebb18);};}exports['register']=function(_0xe70701){for(var _0x381758=0x0,_0x437365=events[_0x04c2('0x6')];_0x381758<_0x437365;_0x381758++){var _0xac59eb=events[_0x381758];var _0x303411=createListener(_0x04c2('0x7')+_0xac59eb,_0xe70701);NotificationEvents['on'](_0xac59eb,_0x303411);}};
\ No newline at end of file