Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 10ccebf..89b02e5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd1ef=['userNotification:','./userNotification.events','save','update','emit','length'];(function(_0x4243a3,_0x447337){var _0x1b2a33=function(_0x6a8200){while(--_0x6a8200){_0x4243a3['push'](_0x4243a3['shift']());}};_0x1b2a33(++_0x447337);}(_0xd1ef,0x1c3));var _0xfd1e=function(_0x54835c,_0x17e7c1){_0x54835c=_0x54835c-0x0;var _0x19fa13=_0xd1ef[_0x54835c];return _0x19fa13;};'use strict';var UserNotificationEvents=require(_0xfd1e('0x0'));var events=[_0xfd1e('0x1'),'remove',_0xfd1e('0x2')];function createListener(_0x49dad4,_0x2f49bc){return function(_0x152c7c){_0x2f49bc[_0xfd1e('0x3')](_0x49dad4,_0x152c7c);};}function removeListener(_0x17df90,_0x589081){return function(){UserNotificationEvents['removeListener'](_0x17df90,_0x589081);};}exports['register']=function(_0x2e7b71){for(var _0x194f52=0x0,_0x4735d4=events[_0xfd1e('0x4')];_0x194f52<_0x4735d4;_0x194f52++){var _0x2abf4a=events[_0x194f52];var _0x246c38=createListener(_0xfd1e('0x5')+_0x2abf4a,_0x2e7b71);UserNotificationEvents['on'](_0x2abf4a,_0x246c38);}};
\ No newline at end of file
+var _0x0ea5=['length','userNotification:','./userNotification.events','save','remove','removeListener','register'];(function(_0x260570,_0x12cac2){var _0x1a2e22=function(_0x35f4af){while(--_0x35f4af){_0x260570['push'](_0x260570['shift']());}};_0x1a2e22(++_0x12cac2);}(_0x0ea5,0xfe));var _0x50ea=function(_0x4ef86f,_0x106f54){_0x4ef86f=_0x4ef86f-0x0;var _0x1b792e=_0x0ea5[_0x4ef86f];return _0x1b792e;};'use strict';var UserNotificationEvents=require(_0x50ea('0x0'));var events=[_0x50ea('0x1'),_0x50ea('0x2'),'update'];function createListener(_0x3ab24c,_0xfacd9a){return function(_0x39593b){_0xfacd9a['emit'](_0x3ab24c,_0x39593b);};}function removeListener(_0xc5a74c,_0x1822ab){return function(){UserNotificationEvents[_0x50ea('0x3')](_0xc5a74c,_0x1822ab);};}exports[_0x50ea('0x4')]=function(_0xbe1685){for(var _0x2720f6=0x0,_0x1a8d38=events[_0x50ea('0x5')];_0x2720f6<_0x1a8d38;_0x2720f6++){var _0xa73c2e=events[_0x2720f6];var _0x1d3eda=createListener(_0x50ea('0x6')+_0xa73c2e,_0xbe1685);UserNotificationEvents['on'](_0xa73c2e,_0x1d3eda);}};
\ No newline at end of file