X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=10ccebf177254de30331f08c4d0fa1bd05b895dd;hb=5584754b2aa104a57907f7aa392d8c07dfdc6150;hp=7ea24df6533e4a96aa6e0a9e45efd9b0c06139c4;hpb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index 7ea24df..10ccebf 100644 --- a/server/api/userNotification/userNotification.socket.js +++ b/server/api/userNotification/userNotification.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xce01=['userNotification:','./userNotification.events','remove','update','emit','removeListener','length'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0xce01,0x1c8));var _0x1ce0=function(_0x31bf91,_0x3e79ef){_0x31bf91=_0x31bf91-0x0;var _0x4799a8=_0xce01[_0x31bf91];return _0x4799a8;};'use strict';var UserNotificationEvents=require(_0x1ce0('0x0'));var events=['save',_0x1ce0('0x1'),_0x1ce0('0x2')];function createListener(_0x2e304b,_0x23ecb7){return function(_0x52b5e0){_0x23ecb7[_0x1ce0('0x3')](_0x2e304b,_0x52b5e0);};}function removeListener(_0x5e44c3,_0x3a1c54){return function(){UserNotificationEvents[_0x1ce0('0x4')](_0x5e44c3,_0x3a1c54);};}exports['register']=function(_0x1631aa){for(var _0x1688d6=0x0,_0xe98a87=events[_0x1ce0('0x5')];_0x1688d6<_0xe98a87;_0x1688d6++){var _0x56c39c=events[_0x1688d6];var _0xb30177=createListener(_0x1ce0('0x6')+_0x56c39c,_0x1631aa);UserNotificationEvents['on'](_0x56c39c,_0xb30177);}}; \ 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