Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / mailSubstatus / mailSubstatus.events.js
index 5674d4b..f34c3bb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x82be=['update','emit','hasOwnProperty','hook','exports','events','MailSubstatus','setMaxListeners'];(function(_0x243217,_0x522951){var _0x478029=function(_0x18d053){while(--_0x18d053){_0x243217['push'](_0x243217['shift']());}};_0x478029(++_0x522951);}(_0x82be,0x1dd));var _0xe82b=function(_0x3addef,_0x37deb2){_0x3addef=_0x3addef-0x0;var _0x3a2b8e=_0x82be[_0x3addef];return _0x3a2b8e;};'use strict';var EventEmitter=require(_0xe82b('0x0'));var MailSubstatus=require('../../mysqldb')['db'][_0xe82b('0x1')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xe82b('0x2')](0x0);var events={'afterUpdate':_0xe82b('0x3')};function emitEvent(_0x1ddc39){return function(_0x10b2d7,_0x558942,_0x355232){MailSubstatusEvents[_0xe82b('0x4')](_0x1ddc39+':'+_0x10b2d7['id'],_0x10b2d7);MailSubstatusEvents[_0xe82b('0x4')](_0x1ddc39,_0x10b2d7);_0x355232(null);};}for(var e in events){if(events[_0xe82b('0x5')](e)){var event=events[e];MailSubstatus[_0xe82b('0x6')](e,emitEvent(event));}}module[_0xe82b('0x7')]=MailSubstatusEvents;
\ No newline at end of file
+var _0x74de=['emit','hasOwnProperty','hook','exports','events','../../mysqldb','MailSubstatus','setMaxListeners','update'];(function(_0x9c2427,_0x17c865){var _0x51984f=function(_0x177af6){while(--_0x177af6){_0x9c2427['push'](_0x9c2427['shift']());}};_0x51984f(++_0x17c865);}(_0x74de,0x187));var _0xe74d=function(_0x26cd6a,_0x5ed59c){_0x26cd6a=_0x26cd6a-0x0;var _0x1ae60a=_0x74de[_0x26cd6a];return _0x1ae60a;};'use strict';var EventEmitter=require(_0xe74d('0x0'));var MailSubstatus=require(_0xe74d('0x1'))['db'][_0xe74d('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xe74d('0x3')](0x0);var events={'afterUpdate':_0xe74d('0x4')};function emitEvent(_0x2e55fd){return function(_0x7395ec,_0x43ffbc,_0x15ae07){MailSubstatusEvents[_0xe74d('0x5')](_0x2e55fd+':'+_0x7395ec['id'],_0x7395ec);MailSubstatusEvents['emit'](_0x2e55fd,_0x7395ec);_0x15ae07(null);};}for(var e in events){if(events[_0xe74d('0x6')](e)){var event=events[e];MailSubstatus[_0xe74d('0x7')](e,emitEvent(event));}}module[_0xe74d('0x8')]=MailSubstatusEvents;
\ No newline at end of file