Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 10ccebf..58ad20f 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 _0xb2e0=['emit','removeListener','register','length','./userNotification.events','save','remove','update'];(function(_0x473f1d,_0x304c77){var _0x249482=function(_0x55c607){while(--_0x55c607){_0x473f1d['push'](_0x473f1d['shift']());}};_0x249482(++_0x304c77);}(_0xb2e0,0x1ac));var _0x0b2e=function(_0x1dbdc5,_0xe577fa){_0x1dbdc5=_0x1dbdc5-0x0;var _0x12dc3c=_0xb2e0[_0x1dbdc5];return _0x12dc3c;};'use strict';var UserNotificationEvents=require(_0x0b2e('0x0'));var events=[_0x0b2e('0x1'),_0x0b2e('0x2'),_0x0b2e('0x3')];function createListener(_0x128ac7,_0xc7b732){return function(_0x4f6426){_0xc7b732[_0x0b2e('0x4')](_0x128ac7,_0x4f6426);};}function removeListener(_0x447371,_0x25676e){return function(){UserNotificationEvents[_0x0b2e('0x5')](_0x447371,_0x25676e);};}exports[_0x0b2e('0x6')]=function(_0x27151e){for(var _0x4db7ee=0x0,_0x255b59=events[_0x0b2e('0x7')];_0x4db7ee<_0x255b59;_0x4db7ee++){var _0xfdbefc=events[_0x4db7ee];var _0x3b3b5e=createListener('userNotification:'+_0xfdbefc,_0x27151e);UserNotificationEvents['on'](_0xfdbefc,_0x3b3b5e);}};
\ No newline at end of file