Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 4f6ede3..10ccebf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8ad1=['length','./userNotification.events','remove','update','emit','removeListener','register'];(function(_0x163c83,_0xb416e4){var _0x290e1b=function(_0x33c2c7){while(--_0x33c2c7){_0x163c83['push'](_0x163c83['shift']());}};_0x290e1b(++_0xb416e4);}(_0x8ad1,0xef));var _0x18ad=function(_0x19074d,_0x2b46d4){_0x19074d=_0x19074d-0x0;var _0xb366a8=_0x8ad1[_0x19074d];return _0xb366a8;};'use strict';var UserNotificationEvents=require(_0x18ad('0x0'));var events=['save',_0x18ad('0x1'),_0x18ad('0x2')];function createListener(_0x1f7c21,_0x253b83){return function(_0x4a2e67){_0x253b83[_0x18ad('0x3')](_0x1f7c21,_0x4a2e67);};}function removeListener(_0x7a7bf6,_0x13e7e4){return function(){UserNotificationEvents[_0x18ad('0x4')](_0x7a7bf6,_0x13e7e4);};}exports[_0x18ad('0x5')]=function(_0xd427d3){for(var _0x2c1f4d=0x0,_0x15f188=events[_0x18ad('0x6')];_0x2c1f4d<_0x15f188;_0x2c1f4d++){var _0x4aa2b5=events[_0x2c1f4d];var _0x4cb786=createListener('userNotification:'+_0x4aa2b5,_0xd427d3);UserNotificationEvents['on'](_0x4aa2b5,_0x4cb786);}};
\ 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