X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FfaxMessage%2FfaxMessage.socket.js;h=7af21617927c8ce55d372e5598d8256fe1c184c7;hb=fb34d7d7b73e912de94d572e15e1910ea03e3516;hp=38fbd951f1807e029446278a0beb1e2551459abe;hpb=3b98a30f4ada10cd5d8b95df3555955dc5830a8a;p=motion2.git diff --git a/server/api/faxMessage/faxMessage.socket.js b/server/api/faxMessage/faxMessage.socket.js index 38fbd95..7af2161 100644 --- a/server/api/faxMessage/faxMessage.socket.js +++ b/server/api/faxMessage/faxMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb807=['removeListener','register','length','faxMessage:','./faxMessage.events','remove','update','emit'];(function(_0x9b2657,_0x4f833a){var _0x2c8461=function(_0x385892){while(--_0x385892){_0x9b2657['push'](_0x9b2657['shift']());}};_0x2c8461(++_0x4f833a);}(_0xb807,0x14c));var _0x7b80=function(_0x31880d,_0x4f0ff3){_0x31880d=_0x31880d-0x0;var _0x423823=_0xb807[_0x31880d];return _0x423823;};'use strict';var FaxMessageEvents=require(_0x7b80('0x0'));var events=['save',_0x7b80('0x1'),_0x7b80('0x2')];function createListener(_0x12461c,_0x3d9ea9){return function(_0x4843cf){_0x3d9ea9[_0x7b80('0x3')](_0x12461c,_0x4843cf);};}function removeListener(_0x15acf2,_0xb4d91c){return function(){FaxMessageEvents[_0x7b80('0x4')](_0x15acf2,_0xb4d91c);};}exports[_0x7b80('0x5')]=function(_0x25b3e7){for(var _0x56fd99=0x0,_0x2d7625=events[_0x7b80('0x6')];_0x56fd99<_0x2d7625;_0x56fd99++){var _0x117c92=events[_0x56fd99];var _0xe46fac=createListener(_0x7b80('0x7')+_0x117c92,_0x25b3e7);FaxMessageEvents['on'](_0x117c92,_0xe46fac);}}; \ No newline at end of file +var _0x9baa=['update','emit','register','length','save','remove'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x9baa,0x190));var _0xa9ba=function(_0x4a1f01,_0x45e5c4){_0x4a1f01=_0x4a1f01-0x0;var _0x135de8=_0x9baa[_0x4a1f01];return _0x135de8;};'use strict';var FaxMessageEvents=require('./faxMessage.events');var events=[_0xa9ba('0x0'),_0xa9ba('0x1'),_0xa9ba('0x2')];function createListener(_0x1b47ab,_0x20935d){return function(_0x2dc33b){_0x20935d[_0xa9ba('0x3')](_0x1b47ab,_0x2dc33b);};}function removeListener(_0x3410c2,_0x2a81f8){return function(){FaxMessageEvents['removeListener'](_0x3410c2,_0x2a81f8);};}exports[_0xa9ba('0x4')]=function(_0x2704cd){for(var _0x1ab051=0x0,_0x1bfb75=events[_0xa9ba('0x5')];_0x1ab051<_0x1bfb75;_0x1ab051++){var _0x4cae58=events[_0x1ab051];var _0x5b4564=createListener('faxMessage:'+_0x4cae58,_0x2704cd);FaxMessageEvents['on'](_0x4cae58,_0x5b4564);}}; \ No newline at end of file