Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / mailSubstatus / mailSubstatus.events.js
index b645903..ff6f5ec 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdf6c=['MailSubstatus','setMaxListeners','emit','hasOwnProperty','exports','events','../../mysqldb'];(function(_0xfed5ab,_0x4a36b9){var _0x560838=function(_0x34f5cb){while(--_0x34f5cb){_0xfed5ab['push'](_0xfed5ab['shift']());}};_0x560838(++_0x4a36b9);}(_0xdf6c,0x1b0));var _0xcdf6=function(_0x26c825,_0x127dc8){_0x26c825=_0x26c825-0x0;var _0xc95475=_0xdf6c[_0x26c825];return _0xc95475;};'use strict';var EventEmitter=require(_0xcdf6('0x0'));var MailSubstatus=require(_0xcdf6('0x1'))['db'][_0xcdf6('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xcdf6('0x3')](0x0);var events={'afterUpdate':'update'};function emitEvent(_0x458188){return function(_0x574c59,_0x1fef79,_0xb66b99){MailSubstatusEvents[_0xcdf6('0x4')](_0x458188+':'+_0x574c59['id'],_0x574c59);MailSubstatusEvents['emit'](_0x458188,_0x574c59);_0xb66b99(null);};}for(var e in events){if(events[_0xcdf6('0x5')](e)){var event=events[e];MailSubstatus['hook'](e,emitEvent(event));}}module[_0xcdf6('0x6')]=MailSubstatusEvents;
\ No newline at end of file
+var _0xcc3c=['setMaxListeners','update','emit','hasOwnProperty','events','../../mysqldb','MailSubstatus'];(function(_0x2d789f,_0x15ba8a){var _0x92ed2=function(_0x162fc4){while(--_0x162fc4){_0x2d789f['push'](_0x2d789f['shift']());}};_0x92ed2(++_0x15ba8a);}(_0xcc3c,0xa5));var _0xccc3=function(_0x36ae90,_0x1a8ea5){_0x36ae90=_0x36ae90-0x0;var _0x52b505=_0xcc3c[_0x36ae90];return _0x52b505;};'use strict';var EventEmitter=require(_0xccc3('0x0'));var MailSubstatus=require(_0xccc3('0x1'))['db'][_0xccc3('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xccc3('0x3')](0x0);var events={'afterUpdate':_0xccc3('0x4')};function emitEvent(_0x364b37){return function(_0x82a06c,_0x50e3b9,_0x581db1){MailSubstatusEvents[_0xccc3('0x5')](_0x364b37+':'+_0x82a06c['id'],_0x82a06c);MailSubstatusEvents[_0xccc3('0x5')](_0x364b37,_0x82a06c);_0x581db1(null);};}for(var e in events){if(events[_0xccc3('0x6')](e)){var event=events[e];MailSubstatus['hook'](e,emitEvent(event));}}module['exports']=MailSubstatusEvents;
\ No newline at end of file