Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / openchannelAccount / openchannelAccount.events.js
index 16c6732..1d8bcc0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa304=['save','update','hook','events','../../mysqldb','setMaxListeners'];(function(_0x13cd99,_0x50bd8d){var _0x1d42c7=function(_0x1fa433){while(--_0x1fa433){_0x13cd99['push'](_0x13cd99['shift']());}};_0x1d42c7(++_0x50bd8d);}(_0xa304,0x183));var _0x4a30=function(_0x2bcddb,_0x3eaf37){_0x2bcddb=_0x2bcddb-0x0;var _0x12a9e8=_0xa304[_0x2bcddb];return _0x12a9e8;};'use strict';var EventEmitter=require(_0x4a30('0x0'));var OpenchannelAccount=require(_0x4a30('0x1'))['db']['OpenchannelAccount'];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x4a30('0x2')](0x0);var events={'afterCreate':_0x4a30('0x3'),'afterUpdate':_0x4a30('0x4'),'afterDestroy':'remove'};function emitEvent(_0x25f525){return function(_0x419c4f,_0x7e807a,_0x1c3e6e){OpenchannelAccountEvents['emit'](_0x25f525+':'+_0x419c4f['id'],_0x419c4f);OpenchannelAccountEvents['emit'](_0x25f525,_0x419c4f);_0x1c3e6e(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];OpenchannelAccount[_0x4a30('0x5')](e,emitEvent(event));}}module['exports']=OpenchannelAccountEvents;
\ No newline at end of file
+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