X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserNotification%2FuserNotification.socket.js;h=10ccebf177254de30331f08c4d0fa1bd05b895dd;hb=5584754b2aa104a57907f7aa392d8c07dfdc6150;hp=25ac71243ccad8e9cb916210199fdf3bf764e995;hpb=43db2c329c99249300a38f3296ebfb46ac71947b;p=motion2.git diff --git a/server/api/userNotification/userNotification.socket.js b/server/api/userNotification/userNotification.socket.js index 25ac712..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 _0xe712=['update','emit','removeListener','register','length','userNotification:','./userNotification.events','save'];(function(_0x3c2722,_0x1c4748){var _0x99c954=function(_0x3f1a67){while(--_0x3f1a67){_0x3c2722['push'](_0x3c2722['shift']());}};_0x99c954(++_0x1c4748);}(_0xe712,0x9e));var _0x2e71=function(_0x21f97,_0x425186){_0x21f97=_0x21f97-0x0;var _0x15108a=_0xe712[_0x21f97];return _0x15108a;};'use strict';var UserNotificationEvents=require(_0x2e71('0x0'));var events=[_0x2e71('0x1'),'remove',_0x2e71('0x2')];function createListener(_0xf48328,_0x39826f){return function(_0x2c0ac0){_0x39826f[_0x2e71('0x3')](_0xf48328,_0x2c0ac0);};}function removeListener(_0x253040,_0x4f764a){return function(){UserNotificationEvents[_0x2e71('0x4')](_0x253040,_0x4f764a);};}exports[_0x2e71('0x5')]=function(_0x3e3c15){for(var _0x3a64c7=0x0,_0x321486=events[_0x2e71('0x6')];_0x3a64c7<_0x321486;_0x3a64c7++){var _0x5c49a3=events[_0x3a64c7];var _0x94d04c=createListener(_0x2e71('0x7')+_0x5c49a3,_0x3e3c15);UserNotificationEvents['on'](_0x5c49a3,_0x94d04c);}}; \ 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