Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 0091bd4..10ccebf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe015=['emit','removeListener','userNotification:','./userNotification.events','save','remove'];(function(_0x5e5a2d,_0x5b8f51){var _0x857f0=function(_0x2bdc4a){while(--_0x2bdc4a){_0x5e5a2d['push'](_0x5e5a2d['shift']());}};_0x857f0(++_0x5b8f51);}(_0xe015,0x13b));var _0x5e01=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0xe015[_0x138adb];return _0x1b27f2;};'use strict';var UserNotificationEvents=require(_0x5e01('0x0'));var events=[_0x5e01('0x1'),_0x5e01('0x2'),'update'];function createListener(_0x51f689,_0x46ed0d){return function(_0x4e3569){_0x46ed0d[_0x5e01('0x3')](_0x51f689,_0x4e3569);};}function removeListener(_0x420f00,_0x7ce4b9){return function(){UserNotificationEvents[_0x5e01('0x4')](_0x420f00,_0x7ce4b9);};}exports['register']=function(_0x1814cb){for(var _0x3d2da2=0x0,_0x4de678=events['length'];_0x3d2da2<_0x4de678;_0x3d2da2++){var _0x414f73=events[_0x3d2da2];var _0x3aeaef=createListener(_0x5e01('0x5')+_0x414f73,_0x1814cb);UserNotificationEvents['on'](_0x414f73,_0x3aeaef);}};
\ No newline at end of file
+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