Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 1d4d5a2..10ccebf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc7e=['register','length','userNotification:','save','remove','emit','removeListener'];(function(_0x1f1376,_0x52d0f4){var _0x574448=function(_0x15e1d8){while(--_0x15e1d8){_0x1f1376['push'](_0x1f1376['shift']());}};_0x574448(++_0x52d0f4);}(_0xbc7e,0x88));var _0xebc7=function(_0x581332,_0x588a7b){_0x581332=_0x581332-0x0;var _0xfa58b4=_0xbc7e[_0x581332];return _0xfa58b4;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=[_0xebc7('0x0'),_0xebc7('0x1'),'update'];function createListener(_0x284550,_0x3b1dad){return function(_0x3d8cf0){_0x3b1dad[_0xebc7('0x2')](_0x284550,_0x3d8cf0);};}function removeListener(_0x25228f,_0x22e1be){return function(){UserNotificationEvents[_0xebc7('0x3')](_0x25228f,_0x22e1be);};}exports[_0xebc7('0x4')]=function(_0x3edbb9){for(var _0x47f1a0=0x0,_0x56b2cc=events[_0xebc7('0x5')];_0x47f1a0<_0x56b2cc;_0x47f1a0++){var _0x5a1bad=events[_0x47f1a0];var _0x5fa9e6=createListener(_0xebc7('0x6')+_0x5a1bad,_0x3edbb9);UserNotificationEvents['on'](_0x5a1bad,_0x5fa9e6);}};
\ 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