Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / notification / notification.socket.js
index 05efb0d..abe7ad6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce05=['notification:','remove','emit','removeListener','register','length'];(function(_0x5a1c75,_0x40cd29){var _0x13931e=function(_0x4f84c0){while(--_0x4f84c0){_0x5a1c75['push'](_0x5a1c75['shift']());}};_0x13931e(++_0x40cd29);}(_0xce05,0x175));var _0x5ce0=function(_0x1a980c,_0x50369f){_0x1a980c=_0x1a980c-0x0;var _0x4353df=_0xce05[_0x1a980c];return _0x4353df;};'use strict';var NotificationEvents=require('./notification.events');var events=['save',_0x5ce0('0x0'),'update'];function createListener(_0x48b63b,_0x4c84aa){return function(_0x5e7048){_0x4c84aa[_0x5ce0('0x1')](_0x48b63b,_0x5e7048);};}function removeListener(_0x42a140,_0x301d07){return function(){NotificationEvents[_0x5ce0('0x2')](_0x42a140,_0x301d07);};}exports[_0x5ce0('0x3')]=function(_0x2884b1){for(var _0x103b5c=0x0,_0x45287e=events[_0x5ce0('0x4')];_0x103b5c<_0x45287e;_0x103b5c++){var _0x5b5b4e=events[_0x103b5c];var _0x15b813=createListener(_0x5ce0('0x5')+_0x5b5b4e,_0x2884b1);NotificationEvents['on'](_0x5b5b4e,_0x15b813);}};
\ No newline at end of file
+var _0x480f=['update','length','notification:','./notification.events','remove'];(function(_0x41d584,_0x5c1267){var _0x3ed78f=function(_0xdc4489){while(--_0xdc4489){_0x41d584['push'](_0x41d584['shift']());}};_0x3ed78f(++_0x5c1267);}(_0x480f,0x107));var _0xf480=function(_0x2ccc71,_0x1c458a){_0x2ccc71=_0x2ccc71-0x0;var _0x20fa15=_0x480f[_0x2ccc71];return _0x20fa15;};'use strict';var NotificationEvents=require(_0xf480('0x0'));var events=['save',_0xf480('0x1'),_0xf480('0x2')];function createListener(_0x55a9e8,_0x2efa46){return function(_0x3539df){_0x2efa46['emit'](_0x55a9e8,_0x3539df);};}function removeListener(_0x346e1f,_0x1f4a6d){return function(){NotificationEvents['removeListener'](_0x346e1f,_0x1f4a6d);};}exports['register']=function(_0x23e926){for(var _0x2e1f85=0x0,_0x1a90a8=events[_0xf480('0x3')];_0x2e1f85<_0x1a90a8;_0x2e1f85++){var _0x56eb6d=events[_0x2e1f85];var _0x351808=createListener(_0xf480('0x4')+_0x56eb6d,_0x23e926);NotificationEvents['on'](_0x56eb6d,_0x351808);}};
\ No newline at end of file