Built motion from commit (unavailable).|2.5.15
[motion2.git] / server / api / notification / notification.socket.js
index db44cfc..129e86b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc65=['removeListener','register','length','notification:','remove','update'];(function(_0x2fc012,_0x503e5b){var _0x2891f9=function(_0x295f5e){while(--_0x295f5e){_0x2fc012['push'](_0x2fc012['shift']());}};_0x2891f9(++_0x503e5b);}(_0xfc65,0x17e));var _0x5fc6=function(_0x2ffeb7,_0x50ef17){_0x2ffeb7=_0x2ffeb7-0x0;var _0x505f0f=_0xfc65[_0x2ffeb7];return _0x505f0f;};'use strict';var NotificationEvents=require('./notification.events');var events=['save',_0x5fc6('0x0'),_0x5fc6('0x1')];function createListener(_0x223b14,_0x5896a4){return function(_0x366688){_0x5896a4['emit'](_0x223b14,_0x366688);};}function removeListener(_0x3fa3d9,_0x44d8ea){return function(){NotificationEvents[_0x5fc6('0x2')](_0x3fa3d9,_0x44d8ea);};}exports[_0x5fc6('0x3')]=function(_0x2ca141){for(var _0x33112e=0x0,_0x473654=events[_0x5fc6('0x4')];_0x33112e<_0x473654;_0x33112e++){var _0x110e02=events[_0x33112e];var _0x30c51b=createListener(_0x5fc6('0x5')+_0x110e02,_0x2ca141);NotificationEvents['on'](_0x110e02,_0x30c51b);}};
\ No newline at end of file
+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