Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 3faf715..52fa978 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c79=['./userNotification.events','emit','length'];(function(_0x397bf9,_0x20817d){var _0x3463c9=function(_0x3be6fa){while(--_0x3be6fa){_0x397bf9['push'](_0x397bf9['shift']());}};_0x3463c9(++_0x20817d);}(_0x8c79,0xa8));var _0x98c7=function(_0x554af3,_0x570447){_0x554af3=_0x554af3-0x0;var _0x3670ef=_0x8c79[_0x554af3];return _0x3670ef;};'use strict';var UserNotificationEvents=require(_0x98c7('0x0'));var events=['save','remove','update'];function createListener(_0x14ca25,_0x55824b){return function(_0x255cd6){_0x55824b[_0x98c7('0x1')](_0x14ca25,_0x255cd6);};}function removeListener(_0x5ecf19,_0x456fb6){return function(){UserNotificationEvents['removeListener'](_0x5ecf19,_0x456fb6);};}exports['register']=function(_0x553d51){for(var _0x9e9609=0x0,_0x57b072=events[_0x98c7('0x2')];_0x9e9609<_0x57b072;_0x9e9609++){var _0x25dd4c=events[_0x9e9609];var _0x513208=createListener('userNotification:'+_0x25dd4c,_0x553d51);UserNotificationEvents['on'](_0x25dd4c,_0x513208);}};
\ 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