Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / notification / notification.socket.js
index 129e86b..d3eaaac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55e0=['notification:','./notification.events','remove','emit','removeListener'];(function(_0x3fcc20,_0x57c31b){var _0x15d3ce=function(_0x575619){while(--_0x575619){_0x3fcc20['push'](_0x3fcc20['shift']());}};_0x15d3ce(++_0x57c31b);}(_0x55e0,0xd8));var _0x055e=function(_0x5b474c,_0x53a6e5){_0x5b474c=_0x5b474c-0x0;var _0x6f3112=_0x55e0[_0x5b474c];return _0x6f3112;};'use strict';var NotificationEvents=require(_0x055e('0x0'));var events=['save',_0x055e('0x1'),'update'];function createListener(_0x18c9de,_0xa2e65d){return function(_0x540219){_0xa2e65d[_0x055e('0x2')](_0x18c9de,_0x540219);};}function removeListener(_0x193d1b,_0x267f28){return function(){NotificationEvents[_0x055e('0x3')](_0x193d1b,_0x267f28);};}exports['register']=function(_0x504ae4){for(var _0x299414=0x0,_0x1b9281=events['length'];_0x299414<_0x1b9281;_0x299414++){var _0x2887e2=events[_0x299414];var _0x4305e2=createListener(_0x055e('0x4')+_0x2887e2,_0x504ae4);NotificationEvents['on'](_0x2887e2,_0x4305e2);}};
\ No newline at end of file
+var _0xd000=['save','remove','update','emit','removeListener','register','notification:','./notification.events'];(function(_0x133282,_0x5ae100){var _0x556b53=function(_0x141507){while(--_0x141507){_0x133282['push'](_0x133282['shift']());}};_0x556b53(++_0x5ae100);}(_0xd000,0x1d7));var _0x0d00=function(_0x2b93e1,_0x10e1d3){_0x2b93e1=_0x2b93e1-0x0;var _0x40f612=_0xd000[_0x2b93e1];return _0x40f612;};'use strict';var NotificationEvents=require(_0x0d00('0x0'));var events=[_0x0d00('0x1'),_0x0d00('0x2'),_0x0d00('0x3')];function createListener(_0x10085f,_0x15b78e){return function(_0x2d4f6d){_0x15b78e[_0x0d00('0x4')](_0x10085f,_0x2d4f6d);};}function removeListener(_0x31e6af,_0x1dae3d){return function(){NotificationEvents[_0x0d00('0x5')](_0x31e6af,_0x1dae3d);};}exports[_0x0d00('0x6')]=function(_0x525120){for(var _0x505869=0x0,_0x30609b=events['length'];_0x505869<_0x30609b;_0x505869++){var _0x362e41=events[_0x505869];var _0x1399a3=createListener(_0x0d00('0x7')+_0x362e41,_0x525120);NotificationEvents['on'](_0x362e41,_0x1399a3);}};
\ No newline at end of file