Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 4a3dcf6..2d2c2db 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9489=['remove','emit','removeListener','length','./userNotification.events','save'];(function(_0x468f6d,_0x38f263){var _0x2ccabc=function(_0x59851c){while(--_0x59851c){_0x468f6d['push'](_0x468f6d['shift']());}};_0x2ccabc(++_0x38f263);}(_0x9489,0xf4));var _0x9948=function(_0x1061c8,_0x3250ad){_0x1061c8=_0x1061c8-0x0;var _0x38d5a3=_0x9489[_0x1061c8];return _0x38d5a3;};'use strict';var UserNotificationEvents=require(_0x9948('0x0'));var events=[_0x9948('0x1'),_0x9948('0x2'),'update'];function createListener(_0x4a099b,_0x315259){return function(_0x2ef5c2){_0x315259[_0x9948('0x3')](_0x4a099b,_0x2ef5c2);};}function removeListener(_0x2dfcc5,_0x1456f4){return function(){UserNotificationEvents[_0x9948('0x4')](_0x2dfcc5,_0x1456f4);};}exports['register']=function(_0x2b6792){for(var _0x2dc044=0x0,_0x4b3fa8=events[_0x9948('0x5')];_0x2dc044<_0x4b3fa8;_0x2dc044++){var _0x5169f3=events[_0x2dc044];var _0x41ee1b=createListener('userNotification:'+_0x5169f3,_0x2b6792);UserNotificationEvents['on'](_0x5169f3,_0x41ee1b);}};
\ No newline at end of file
+var _0x44c4=['emit','removeListener','register','length','userNotification:','./userNotification.events','remove','update'];(function(_0x4883eb,_0xd40de7){var _0x3e1946=function(_0x1daff2){while(--_0x1daff2){_0x4883eb['push'](_0x4883eb['shift']());}};_0x3e1946(++_0xd40de7);}(_0x44c4,0x11d));var _0x444c=function(_0x53ea9f,_0xad6e7c){_0x53ea9f=_0x53ea9f-0x0;var _0x5bd94e=_0x44c4[_0x53ea9f];return _0x5bd94e;};'use strict';var UserNotificationEvents=require(_0x444c('0x0'));var events=['save',_0x444c('0x1'),_0x444c('0x2')];function createListener(_0x3b9fa6,_0xdd6e6f){return function(_0x5c3726){_0xdd6e6f[_0x444c('0x3')](_0x3b9fa6,_0x5c3726);};}function removeListener(_0x57a3e0,_0x443d3c){return function(){UserNotificationEvents[_0x444c('0x4')](_0x57a3e0,_0x443d3c);};}exports[_0x444c('0x5')]=function(_0x1f7657){for(var _0xa9709c=0x0,_0x5aa605=events[_0x444c('0x6')];_0xa9709c<_0x5aa605;_0xa9709c++){var _0xd123f9=events[_0xa9709c];var _0xe04a7c=createListener(_0x444c('0x7')+_0xd123f9,_0x1f7657);UserNotificationEvents['on'](_0xd123f9,_0xe04a7c);}};
\ No newline at end of file