Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / userNotification / userNotification.socket.js
index 0f0e629..209e076 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 _0x1315=['save','remove','update','emit','removeListener','register','length','userNotification:'];(function(_0x271158,_0x23639f){var _0x102b72=function(_0x354e92){while(--_0x354e92){_0x271158['push'](_0x271158['shift']());}};_0x102b72(++_0x23639f);}(_0x1315,0x70));var _0x5131=function(_0x456492,_0x41ea6f){_0x456492=_0x456492-0x0;var _0x36dbb3=_0x1315[_0x456492];return _0x36dbb3;};'use strict';var UserNotificationEvents=require('./userNotification.events');var events=[_0x5131('0x0'),_0x5131('0x1'),_0x5131('0x2')];function createListener(_0x59659d,_0x402f0c){return function(_0x19054f){_0x402f0c[_0x5131('0x3')](_0x59659d,_0x19054f);};}function removeListener(_0x4a1f49,_0x33301f){return function(){UserNotificationEvents[_0x5131('0x4')](_0x4a1f49,_0x33301f);};}exports[_0x5131('0x5')]=function(_0x1a7cba){for(var _0x26538f=0x0,_0x72ac5a=events[_0x5131('0x6')];_0x26538f<_0x72ac5a;_0x26538f++){var _0x3c1877=events[_0x26538f];var _0x57f4bf=createListener(_0x5131('0x7')+_0x3c1877,_0x1a7cba);UserNotificationEvents['on'](_0x3c1877,_0x57f4bf);}};
\ No newline at end of file