Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 0f0e629..b06db42 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe4d9=['emit','removeListener','register','./userNotification.events','save','remove'];(function(_0xf42118,_0x3e472b){var _0x999697=function(_0x56f836){while(--_0x56f836){_0xf42118['push'](_0xf42118['shift']());}};_0x999697(++_0x3e472b);}(_0xe4d9,0x141));var _0x9e4d=function(_0x2b78b5,_0x1469d5){_0x2b78b5=_0x2b78b5-0x0;var _0xc50b8f=_0xe4d9[_0x2b78b5];return _0xc50b8f;};'use strict';var UserNotificationEvents=require(_0x9e4d('0x0'));var events=[_0x9e4d('0x1'),_0x9e4d('0x2'),'update'];function createListener(_0x42b34c,_0x5856ea){return function(_0x5d50b0){_0x5856ea[_0x9e4d('0x3')](_0x42b34c,_0x5d50b0);};}function removeListener(_0x228328,_0x581985){return function(){UserNotificationEvents[_0x9e4d('0x4')](_0x228328,_0x581985);};}exports[_0x9e4d('0x5')]=function(_0x5a4881){for(var _0x493fb5=0x0,_0x74b14=events['length'];_0x493fb5<_0x74b14;_0x493fb5++){var _0x5af2a0=events[_0x493fb5];var _0x36ec30=createListener('userNotification:'+_0x5af2a0,_0x5a4881);UserNotificationEvents['on'](_0x5af2a0,_0x36ec30);}};
\ No newline at end of file
+var _0x7b71=['userNotification:','./userNotification.events','save','remove','update','emit','removeListener','register'];(function(_0x4c8df5,_0x2ffcea){var _0x57231e=function(_0x2b60d6){while(--_0x2b60d6){_0x4c8df5['push'](_0x4c8df5['shift']());}};_0x57231e(++_0x2ffcea);}(_0x7b71,0x1f1));var _0x17b7=function(_0x37d0bc,_0x109b96){_0x37d0bc=_0x37d0bc-0x0;var _0x170e60=_0x7b71[_0x37d0bc];return _0x170e60;};'use strict';var UserNotificationEvents=require(_0x17b7('0x0'));var events=[_0x17b7('0x1'),_0x17b7('0x2'),_0x17b7('0x3')];function createListener(_0x3969cb,_0x18181a){return function(_0x48b31b){_0x18181a[_0x17b7('0x4')](_0x3969cb,_0x48b31b);};}function removeListener(_0x46e14a,_0x3a582f){return function(){UserNotificationEvents[_0x17b7('0x5')](_0x46e14a,_0x3a582f);};}exports[_0x17b7('0x6')]=function(_0x332237){for(var _0x3cba5b=0x0,_0x583405=events['length'];_0x3cba5b<_0x583405;_0x3cba5b++){var _0x441ab0=events[_0x3cba5b];var _0x51d58a=createListener(_0x17b7('0x7')+_0x441ab0,_0x332237);UserNotificationEvents['on'](_0x441ab0,_0x51d58a);}};
\ No newline at end of file