Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / mailSubstatus / mailSubstatus.events.js
index f468c0b..ba27003 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9bce=['setMaxListeners','update','emit','hasOwnProperty','hook','exports','../../mysqldb','MailSubstatus'];(function(_0x5447aa,_0x3afc00){var _0xb21e53=function(_0x2d05f6){while(--_0x2d05f6){_0x5447aa['push'](_0x5447aa['shift']());}};_0xb21e53(++_0x3afc00);}(_0x9bce,0xbe));var _0xe9bc=function(_0x275b9b,_0x2581c8){_0x275b9b=_0x275b9b-0x0;var _0x32ee76=_0x9bce[_0x275b9b];return _0x32ee76;};'use strict';var EventEmitter=require('events');var MailSubstatus=require(_0xe9bc('0x0'))['db'][_0xe9bc('0x1')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xe9bc('0x2')](0x0);var events={'afterUpdate':_0xe9bc('0x3')};function emitEvent(_0x3ea263){return function(_0x48b827,_0x3dbf3f,_0x5b6b65){MailSubstatusEvents[_0xe9bc('0x4')](_0x3ea263+':'+_0x48b827['id'],_0x48b827);MailSubstatusEvents[_0xe9bc('0x4')](_0x3ea263,_0x48b827);_0x5b6b65(null);};}for(var e in events){if(events[_0xe9bc('0x5')](e)){var event=events[e];MailSubstatus[_0xe9bc('0x6')](e,emitEvent(event));}}module[_0xe9bc('0x7')]=MailSubstatusEvents;
\ No newline at end of file
+var _0xe0e6=['hasOwnProperty','hook','exports','../../mysqldb','MailSubstatus','update','emit'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xe0e6,0x1a7));var _0x6e0e=function(_0x32c97a,_0x29b6fc){_0x32c97a=_0x32c97a-0x0;var _0x5de34d=_0xe0e6[_0x32c97a];return _0x5de34d;};'use strict';var EventEmitter=require('events');var MailSubstatus=require(_0x6e0e('0x0'))['db'][_0x6e0e('0x1')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents['setMaxListeners'](0x0);var events={'afterUpdate':_0x6e0e('0x2')};function emitEvent(_0x3eac31){return function(_0x19a8b1,_0x5546a3,_0xdfe364){MailSubstatusEvents[_0x6e0e('0x3')](_0x3eac31+':'+_0x19a8b1['id'],_0x19a8b1);MailSubstatusEvents['emit'](_0x3eac31,_0x19a8b1);_0xdfe364(null);};}for(var e in events){if(events[_0x6e0e('0x4')](e)){var event=events[e];MailSubstatus[_0x6e0e('0x5')](e,emitEvent(event));}}module[_0x6e0e('0x6')]=MailSubstatusEvents;
\ No newline at end of file