X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=a6efdc8517f0b679073ee549216fa295af5e9210;hb=bbf2934691a4ec9ff4842d68e55333ba589f6077;hp=209e076dee8fd83ef4d9d22b41add489c0288487;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index 209e076..a6efdc8 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 _0x1315=['save','remove','update','emit','removeListener','register','length','userNotification:'];(function(_0x271158,_0x23639f){var _0x102b72=function(_0x354e92){while(--_0x354e92){_0x271158['push'](_0x271158['shift']());}};_0x102b72(++_0x23639f);}(_0x1315,0x70));var _0x5131=function(_0x456492,_0x41ea6f){_0x456492=_0x456492-0x0;var _0x36dbb3=_0x1315[_0x456492];return _0x36dbb3;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=[_0x5131('0x0'),_0x5131('0x1'),_0x5131('0x2')];function createListener(_0x59659d,_0x402f0c){return function(_0x19054f){_0x402f0c[_0x5131('0x3')](_0x59659d,_0x19054f);};}function removeListener(_0x4a1f49,_0x33301f){return function(){UserNotificationEvents[_0x5131('0x4')](_0x4a1f49,_0x33301f);};}exports[_0x5131('0x5')]=function(_0x1a7cba){for(var _0x26538f=0x0,_0x72ac5a=events[_0x5131('0x6')];_0x26538f<_0x72ac5a;_0x26538f++){var _0x3c1877=events[_0x26538f];var _0x57f4bf=createListener(_0x5131('0x7')+_0x3c1877,_0x1a7cba);UserNotificationEvents['on'](_0x3c1877,_0x57f4bf);}}; \ No newline at end of file +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