X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=52fa9788f2c8c3ffedd14a6f24c5291eea0071c5;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=b9fdd5a14a2843d9af0c796b42c239965d4cc023;hpb=54a0ef4a12af741872007ade528c24acc1138e49;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index b9fdd5a..52fa978 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 _0xea94=['remove','update','emit','register','length','userNotification:','./userNotification.events','save'];(function(_0x179f4a,_0x4572d7){var _0xfafb29=function(_0x555a40){while(--_0x555a40){_0x179f4a['push'](_0x179f4a['shift']());}};_0xfafb29(++_0x4572d7);}(_0xea94,0x13e));var _0x4ea9=function(_0x2bd8a6,_0x5b9211){_0x2bd8a6=_0x2bd8a6-0x0;var _0x1e037a=_0xea94[_0x2bd8a6];return _0x1e037a;};'use strict';var UserNotificationEvents=require(_0x4ea9('0x0'));var events=[_0x4ea9('0x1'),_0x4ea9('0x2'),_0x4ea9('0x3')];function createListener(_0x47c126,_0x2512e3){return function(_0x1ef018){_0x2512e3[_0x4ea9('0x4')](_0x47c126,_0x1ef018);};}function removeListener(_0x43ed49,_0x32c6f2){return function(){UserNotificationEvents['removeListener'](_0x43ed49,_0x32c6f2);};}exports[_0x4ea9('0x5')]=function(_0x3e89f2){for(var _0x369ae1=0x0,_0xe6c443=events[_0x4ea9('0x6')];_0x369ae1<_0xe6c443;_0x369ae1++){var _0x3215ce=events[_0x369ae1];var _0x3cddd2=createListener(_0x4ea9('0x7')+_0x3215ce,_0x3e89f2);UserNotificationEvents['on'](_0x3215ce,_0x3cddd2);}}; \ No newline at end of file +var _0xd28a=['userNotification:','remove','update','emit','removeListener','register','length'];(function(_0x2bda27,_0x35e70d){var _0xd16c7a=function(_0x2be861){while(--_0x2be861){_0x2bda27['push'](_0x2bda27['shift']());}};_0xd16c7a(++_0x35e70d);}(_0xd28a,0x1cf));var _0xad28=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd28a[_0x20a584];return _0x4b41a8;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=['save',_0xad28('0x0'),_0xad28('0x1')];function createListener(_0xe786b6,_0x1e2378){return function(_0x1582aa){_0x1e2378[_0xad28('0x2')](_0xe786b6,_0x1582aa);};}function removeListener(_0x3395b9,_0x34bf79){return function(){UserNotificationEvents[_0xad28('0x3')](_0x3395b9,_0x34bf79);};}exports[_0xad28('0x4')]=function(_0x237141){for(var _0x1c7f5a=0x0,_0x439150=events[_0xad28('0x5')];_0x1c7f5a<_0x439150;_0x1c7f5a++){var _0x4c73f8=events[_0x1c7f5a];var _0x44e1b1=createListener(_0xad28('0x6')+_0x4c73f8,_0x237141);UserNotificationEvents['on'](_0x4c73f8,_0x44e1b1);}}; \ No newline at end of file