Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / openchannelAccount / openchannelAccount.events.js
index 1d8bcc0..948d7b5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6d70=['save','update','remove','emit','hasOwnProperty','exports','OpenchannelAccount','setMaxListeners'];(function(_0x5c86f4,_0x471488){var _0x129e8f=function(_0x2713ad){while(--_0x2713ad){_0x5c86f4['push'](_0x5c86f4['shift']());}};_0x129e8f(++_0x471488);}(_0x6d70,0x66));var _0x06d7=function(_0x194acc,_0x16a88a){_0x194acc=_0x194acc-0x0;var _0x2b7aab=_0x6d70[_0x194acc];return _0x2b7aab;};'use strict';var EventEmitter=require('events');var OpenchannelAccount=require('../../mysqldb')['db'][_0x06d7('0x0')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x06d7('0x1')](0x0);var events={'afterCreate':_0x06d7('0x2'),'afterUpdate':_0x06d7('0x3'),'afterDestroy':_0x06d7('0x4')};function emitEvent(_0xe822f3){return function(_0x455b6e,_0x44860b,_0xd33ee1){OpenchannelAccountEvents[_0x06d7('0x5')](_0xe822f3+':'+_0x455b6e['id'],_0x455b6e);OpenchannelAccountEvents[_0x06d7('0x5')](_0xe822f3,_0x455b6e);_0xd33ee1(null);};}for(var e in events){if(events[_0x06d7('0x6')](e)){var event=events[e];OpenchannelAccount['hook'](e,emitEvent(event));}}module[_0x06d7('0x7')]=OpenchannelAccountEvents;
\ No newline at end of file
+var _0xe49d=['../../mysqldb','OpenchannelAccount','setMaxListeners','save','emit','exports','events'];(function(_0x21d2b1,_0x523bde){var _0x12c151=function(_0x4d22c5){while(--_0x4d22c5){_0x21d2b1['push'](_0x21d2b1['shift']());}};_0x12c151(++_0x523bde);}(_0xe49d,0x148));var _0xde49=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xe49d[_0x321bb2];return _0x9c12ed;};'use strict';var EventEmitter=require(_0xde49('0x0'));var OpenchannelAccount=require(_0xde49('0x1'))['db'][_0xde49('0x2')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0xde49('0x3')](0x0);var events={'afterCreate':_0xde49('0x4'),'afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x4b80b4){return function(_0x34418e,_0x1a965c,_0x1e8f8a){OpenchannelAccountEvents[_0xde49('0x5')](_0x4b80b4+':'+_0x34418e['id'],_0x34418e);OpenchannelAccountEvents['emit'](_0x4b80b4,_0x34418e);_0x1e8f8a(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];OpenchannelAccount['hook'](e,emitEvent(event));}}module[_0xde49('0x6')]=OpenchannelAccountEvents;
\ No newline at end of file