Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 1fb9a4c..10ccebf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7fc1=['removeListener','register','length','save','remove','update','emit'];(function(_0x44b7b7,_0x15d24e){var _0x49eebd=function(_0x154a76){while(--_0x154a76){_0x44b7b7['push'](_0x44b7b7['shift']());}};_0x49eebd(++_0x15d24e);}(_0x7fc1,0x8f));var _0x17fc=function(_0xdc2bce,_0x4637f5){_0xdc2bce=_0xdc2bce-0x0;var _0x25e7a8=_0x7fc1[_0xdc2bce];return _0x25e7a8;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=[_0x17fc('0x0'),_0x17fc('0x1'),_0x17fc('0x2')];function createListener(_0x48c093,_0x48fdab){return function(_0x481221){_0x48fdab[_0x17fc('0x3')](_0x48c093,_0x481221);};}function removeListener(_0x490f92,_0x4ea54e){return function(){UserNotificationEvents[_0x17fc('0x4')](_0x490f92,_0x4ea54e);};}exports[_0x17fc('0x5')]=function(_0x17a5c6){for(var _0x374795=0x0,_0x46e5e0=events[_0x17fc('0x6')];_0x374795<_0x46e5e0;_0x374795++){var _0x204731=events[_0x374795];var _0x37aeca=createListener('userNotification:'+_0x204731,_0x17a5c6);UserNotificationEvents['on'](_0x204731,_0x37aeca);}};
\ 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