Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / openchannelAccount / openchannelAccount.events.js
index cbe994a..e610822 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1ec1=['OpenchannelAccount','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','../../mysqldb'];(function(_0x1e7345,_0x18bcce){var _0x33017c=function(_0x2b274f){while(--_0x2b274f){_0x1e7345['push'](_0x1e7345['shift']());}};_0x33017c(++_0x18bcce);}(_0x1ec1,0xb3));var _0x11ec=function(_0x2402e6,_0x19c803){_0x2402e6=_0x2402e6-0x0;var _0x16e5b1=_0x1ec1[_0x2402e6];return _0x16e5b1;};'use strict';var EventEmitter=require('events');var OpenchannelAccount=require(_0x11ec('0x0'))['db'][_0x11ec('0x1')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x11ec('0x2')](0x0);var events={'afterCreate':_0x11ec('0x3'),'afterUpdate':_0x11ec('0x4'),'afterDestroy':_0x11ec('0x5')};function emitEvent(_0xe738d8){return function(_0x43cd4a,_0x47b4ec,_0x42be47){OpenchannelAccountEvents[_0x11ec('0x6')](_0xe738d8+':'+_0x43cd4a['id'],_0x43cd4a);OpenchannelAccountEvents[_0x11ec('0x6')](_0xe738d8,_0x43cd4a);_0x42be47(null);};}for(var e in events){if(events[_0x11ec('0x7')](e)){var event=events[e];OpenchannelAccount[_0x11ec('0x8')](e,emitEvent(event));}}module[_0x11ec('0x9')]=OpenchannelAccountEvents;
\ No newline at end of file
+var _0x54ef=['remove','hasOwnProperty','hook','exports','events','../../mysqldb','OpenchannelAccount','save','update'];(function(_0x3fb4ef,_0x154913){var _0x53109b=function(_0x4909ce){while(--_0x4909ce){_0x3fb4ef['push'](_0x3fb4ef['shift']());}};_0x53109b(++_0x154913);}(_0x54ef,0x112));var _0xf54e=function(_0x3b5d15,_0x30f6cf){_0x3b5d15=_0x3b5d15-0x0;var _0x1df9af=_0x54ef[_0x3b5d15];return _0x1df9af;};'use strict';var EventEmitter=require(_0xf54e('0x0'));var OpenchannelAccount=require(_0xf54e('0x1'))['db'][_0xf54e('0x2')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xf54e('0x3'),'afterUpdate':_0xf54e('0x4'),'afterDestroy':_0xf54e('0x5')};function emitEvent(_0x42b9b2){return function(_0x8b6bb6,_0x431e36,_0x12d43f){OpenchannelAccountEvents['emit'](_0x42b9b2+':'+_0x8b6bb6['id'],_0x8b6bb6);OpenchannelAccountEvents['emit'](_0x42b9b2,_0x8b6bb6);_0x12d43f(null);};}for(var e in events){if(events[_0xf54e('0x6')](e)){var event=events[e];OpenchannelAccount[_0xf54e('0x7')](e,emitEvent(event));}}module[_0xf54e('0x8')]=OpenchannelAccountEvents;
\ No newline at end of file