X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;fp=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=28b220c5414b832d3aee70d73f224dd18f780a3b;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=4169f7e377dc772ca3e80616afabe2937dd2a355;hpb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index 4169f7e..28b220c 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 _0x517b=['save','removeListener','length','userNotification:','./userNotification.events'];(function(_0x19e15b,_0x4ae0ee){var _0x3ed895=function(_0x36adb2){while(--_0x36adb2){_0x19e15b['push'](_0x19e15b['shift']());}};_0x3ed895(++_0x4ae0ee);}(_0x517b,0x180));var _0xb517=function(_0x9a7ea6,_0x1807a2){_0x9a7ea6=_0x9a7ea6-0x0;var _0x1c2040=_0x517b[_0x9a7ea6];return _0x1c2040;};'use strict';var UserNotificationEvents=require(_0xb517('0x0'));var events=[_0xb517('0x1'),'remove','update'];function createListener(_0x5236b0,_0x29c580){return function(_0x3daf6e){_0x29c580['emit'](_0x5236b0,_0x3daf6e);};}function removeListener(_0x2e9fc0,_0x2469f0){return function(){UserNotificationEvents[_0xb517('0x2')](_0x2e9fc0,_0x2469f0);};}exports['register']=function(_0x5be296){for(var _0x32c292=0x0,_0x516e01=events[_0xb517('0x3')];_0x32c292<_0x516e01;_0x32c292++){var _0x38e7bd=events[_0x32c292];var _0x45953f=createListener(_0xb517('0x4')+_0x38e7bd,_0x5be296);UserNotificationEvents['on'](_0x38e7bd,_0x45953f);}}; \ No newline at end of file +var _0xfb79=['./userNotification.events','remove','emit','removeListener','length','userNotification:'];(function(_0x315d32,_0x33485b){var _0x3ea98d=function(_0x4111ee){while(--_0x4111ee){_0x315d32['push'](_0x315d32['shift']());}};_0x3ea98d(++_0x33485b);}(_0xfb79,0x13e));var _0x9fb7=function(_0x23285f,_0x5529ce){_0x23285f=_0x23285f-0x0;var _0x1a5a34=_0xfb79[_0x23285f];return _0x1a5a34;};'use strict';var UserNotificationEvents=require(_0x9fb7('0x0'));var events=['save',_0x9fb7('0x1'),'update'];function createListener(_0x90e683,_0x466d83){return function(_0x53f158){_0x466d83[_0x9fb7('0x2')](_0x90e683,_0x53f158);};}function removeListener(_0xa332f3,_0x1b30b1){return function(){UserNotificationEvents[_0x9fb7('0x3')](_0xa332f3,_0x1b30b1);};}exports['register']=function(_0x282f15){for(var _0xc3e066=0x0,_0x28bf14=events[_0x9fb7('0x4')];_0xc3e066<_0x28bf14;_0xc3e066++){var _0x35ad21=events[_0xc3e066];var _0x14699f=createListener(_0x9fb7('0x5')+_0x35ad21,_0x282f15);UserNotificationEvents['on'](_0x35ad21,_0x14699f);}}; \ No newline at end of file