X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=10ccebf177254de30331f08c4d0fa1bd05b895dd;hb=5584754b2aa104a57907f7aa392d8c07dfdc6150;hp=a6efdc8517f0b679073ee549216fa295af5e9210;hpb=bbf2934691a4ec9ff4842d68e55333ba589f6077;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index a6efdc8..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 _0x31dc=['removeListener','length','userNotification:','save','update','emit'];(function(_0x220891,_0xe9b4ac){var _0x127a41=function(_0x5c332e){while(--_0x5c332e){_0x220891['push'](_0x220891['shift']());}};_0x127a41(++_0xe9b4ac);}(_0x31dc,0xed));var _0xc31d=function(_0x24c087,_0x57c4c5){_0x24c087=_0x24c087-0x0;var _0x5dbbde=_0x31dc[_0x24c087];return _0x5dbbde;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=[_0xc31d('0x0'),'remove',_0xc31d('0x1')];function createListener(_0xa046be,_0x2196de){return function(_0x5f5007){_0x2196de[_0xc31d('0x2')](_0xa046be,_0x5f5007);};}function removeListener(_0x24c25d,_0x8ef6d5){return function(){UserNotificationEvents[_0xc31d('0x3')](_0x24c25d,_0x8ef6d5);};}exports['register']=function(_0x4adcd2){for(var _0x4fedda=0x0,_0x12b0cd=events[_0xc31d('0x4')];_0x4fedda<_0x12b0cd;_0x4fedda++){var _0x48cbce=events[_0x4fedda];var _0x3e9a7c=createListener(_0xc31d('0x5')+_0x48cbce,_0x4adcd2);UserNotificationEvents['on'](_0x48cbce,_0x3e9a7c);}}; \ 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