X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailAccount%2FmailAccount.socket.js;h=059bf3b7c36dd33479adc8d8bd2536b1e814c5f6;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=bae5461770f6954f2f632d7c6fc47d5b1abebb0e;hpb=fbc87b59ef94ef6130a71493194cc41e82b19e21;p=motion2.git diff --git a/server/api/mailAccount/mailAccount.socket.js b/server/api/mailAccount/mailAccount.socket.js index bae5461..059bf3b 100644 --- a/server/api/mailAccount/mailAccount.socket.js +++ b/server/api/mailAccount/mailAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x49df=['emit','removeListener','register','length','mailAccount:','remove','update'];(function(_0x49471c,_0x4643b5){var _0x39836b=function(_0x2b2080){while(--_0x2b2080){_0x49471c['push'](_0x49471c['shift']());}};_0x39836b(++_0x4643b5);}(_0x49df,0xad));var _0xf49d=function(_0x4ec216,_0xa8ac4d){_0x4ec216=_0x4ec216-0x0;var _0x24d4d5=_0x49df[_0x4ec216];return _0x24d4d5;};'use strict';var MailAccountEvents=require('./mailAccount.events');var events=['save',_0xf49d('0x0'),_0xf49d('0x1')];function createListener(_0x4e297,_0x21eb98){return function(_0x3d07cf){_0x21eb98[_0xf49d('0x2')](_0x4e297,_0x3d07cf);};}function removeListener(_0x44b37e,_0x59cb9d){return function(){MailAccountEvents[_0xf49d('0x3')](_0x44b37e,_0x59cb9d);};}exports[_0xf49d('0x4')]=function(_0x325c19){for(var _0xca1090=0x0,_0x1aaf37=events[_0xf49d('0x5')];_0xca1090<_0x1aaf37;_0xca1090++){var _0x4e8b5e=events[_0xca1090];var _0xadfde5=createListener(_0xf49d('0x6')+_0x4e8b5e,_0x325c19);MailAccountEvents['on'](_0x4e8b5e,_0xadfde5);}}; \ No newline at end of file +var _0x291f=['remove','emit','register','length','mailAccount:','./mailAccount.events','save'];(function(_0x2e6dbf,_0x57dd06){var _0x2680e5=function(_0x4018f4){while(--_0x4018f4){_0x2e6dbf['push'](_0x2e6dbf['shift']());}};_0x2680e5(++_0x57dd06);}(_0x291f,0xc9));var _0xf291=function(_0x1a849e,_0x558a1a){_0x1a849e=_0x1a849e-0x0;var _0x18e1bd=_0x291f[_0x1a849e];return _0x18e1bd;};'use strict';var MailAccountEvents=require(_0xf291('0x0'));var events=[_0xf291('0x1'),_0xf291('0x2'),'update'];function createListener(_0xc257f5,_0x1fd9a5){return function(_0x39bdb1){_0x1fd9a5[_0xf291('0x3')](_0xc257f5,_0x39bdb1);};}function removeListener(_0x2119c2,_0x2a120c){return function(){MailAccountEvents['removeListener'](_0x2119c2,_0x2a120c);};}exports[_0xf291('0x4')]=function(_0x1b6423){for(var _0x59b180=0x0,_0x48ab4e=events[_0xf291('0x5')];_0x59b180<_0x48ab4e;_0x59b180++){var _0x51fcf6=events[_0x59b180];var _0x22cfa4=createListener(_0xf291('0x6')+_0x51fcf6,_0x1b6423);MailAccountEvents['on'](_0x51fcf6,_0x22cfa4);}}; \ No newline at end of file