Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / mailSubstatus / mailSubstatus.events.js
index f468c0b..6ca7870 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 _0xcc42=['exports','events','../../mysqldb','MailSubstatus','setMaxListeners','update','emit','hasOwnProperty','hook'];(function(_0x130b30,_0x3d45b6){var _0x1b9f34=function(_0xf5b5ff){while(--_0xf5b5ff){_0x130b30['push'](_0x130b30['shift']());}};_0x1b9f34(++_0x3d45b6);}(_0xcc42,0xbe));var _0x2cc4=function(_0x4c4037,_0x15054b){_0x4c4037=_0x4c4037-0x0;var _0x357862=_0xcc42[_0x4c4037];return _0x357862;};'use strict';var EventEmitter=require(_0x2cc4('0x0'));var MailSubstatus=require(_0x2cc4('0x1'))['db'][_0x2cc4('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0x2cc4('0x3')](0x0);var events={'afterUpdate':_0x2cc4('0x4')};function emitEvent(_0x13824d){return function(_0x4686dc,_0x4d0120,_0x36298c){MailSubstatusEvents[_0x2cc4('0x5')](_0x13824d+':'+_0x4686dc['id'],_0x4686dc);MailSubstatusEvents[_0x2cc4('0x5')](_0x13824d,_0x4686dc);_0x36298c(null);};}for(var e in events){if(events[_0x2cc4('0x6')](e)){var event=events[e];MailSubstatus[_0x2cc4('0x7')](e,emitEvent(event));}}module[_0x2cc4('0x8')]=MailSubstatusEvents;
\ No newline at end of file