X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=0f0e62928fe17324c516775b22d7e9564ba004f7;hb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;hp=d80b8d2b032325e1c87095b271c5c91505450092;hpb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index d80b8d2..0f0e629 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 _0xe5e0=['emit','removeListener','register','length','userNotification:','./userNotification.events','save','remove','update'];(function(_0x95044e,_0x5418ac){var _0x599f73=function(_0x252ef0){while(--_0x252ef0){_0x95044e['push'](_0x95044e['shift']());}};_0x599f73(++_0x5418ac);}(_0xe5e0,0x1be));var _0x0e5e=function(_0x280075,_0x4850f1){_0x280075=_0x280075-0x0;var _0x38fa3b=_0xe5e0[_0x280075];return _0x38fa3b;};'use strict';var UserNotificationEvents=require(_0x0e5e('0x0'));var events=[_0x0e5e('0x1'),_0x0e5e('0x2'),_0x0e5e('0x3')];function createListener(_0x3ec1ea,_0x110cf9){return function(_0x127e22){_0x110cf9[_0x0e5e('0x4')](_0x3ec1ea,_0x127e22);};}function removeListener(_0xe914ff,_0x57244d){return function(){UserNotificationEvents[_0x0e5e('0x5')](_0xe914ff,_0x57244d);};}exports[_0x0e5e('0x6')]=function(_0x14afb0){for(var _0x5f044c=0x0,_0x4b9800=events[_0x0e5e('0x7')];_0x5f044c<_0x4b9800;_0x5f044c++){var _0x827738=events[_0x5f044c];var _0x4093cc=createListener(_0x0e5e('0x8')+_0x827738,_0x14afb0);UserNotificationEvents['on'](_0x827738,_0x4093cc);}}; \ No newline at end of file +var _0xe4d9=['emit','removeListener','register','./userNotification.events','save','remove'];(function(_0xf42118,_0x3e472b){var _0x999697=function(_0x56f836){while(--_0x56f836){_0xf42118['push'](_0xf42118['shift']());}};_0x999697(++_0x3e472b);}(_0xe4d9,0x141));var _0x9e4d=function(_0x2b78b5,_0x1469d5){_0x2b78b5=_0x2b78b5-0x0;var _0xc50b8f=_0xe4d9[_0x2b78b5];return _0xc50b8f;};'use strict';var UserNotificationEvents=require(_0x9e4d('0x0'));var events=[_0x9e4d('0x1'),_0x9e4d('0x2'),'update'];function createListener(_0x42b34c,_0x5856ea){return function(_0x5d50b0){_0x5856ea[_0x9e4d('0x3')](_0x42b34c,_0x5d50b0);};}function removeListener(_0x228328,_0x581985){return function(){UserNotificationEvents[_0x9e4d('0x4')](_0x228328,_0x581985);};}exports[_0x9e4d('0x5')]=function(_0x5a4881){for(var _0x493fb5=0x0,_0x74b14=events['length'];_0x493fb5<_0x74b14;_0x493fb5++){var _0x5af2a0=events[_0x493fb5];var _0x36ec30=createListener('userNotification:'+_0x5af2a0,_0x5a4881);UserNotificationEvents['on'](_0x5af2a0,_0x36ec30);}}; \ No newline at end of file