Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 4a3dcf6..4f6ede3 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 _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