Built motion from commit (unavailable).|2.5.16
[motion2.git] / server / api / openchannelAccount / openchannelAccount.events.js
index 2bcb00a..90a764c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4e77=['OpenchannelAccount','setMaxListeners','save','remove','emit','hasOwnProperty','exports','../../mysqldb'];(function(_0x2cedf5,_0x3c0fbf){var _0x5af773=function(_0x504e30){while(--_0x504e30){_0x2cedf5['push'](_0x2cedf5['shift']());}};_0x5af773(++_0x3c0fbf);}(_0x4e77,0x1cf));var _0x74e7=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x4e77[_0x21a9d9];return _0x46adce;};'use strict';var EventEmitter=require('events');var OpenchannelAccount=require(_0x74e7('0x0'))['db'][_0x74e7('0x1')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x74e7('0x2')](0x0);var events={'afterCreate':_0x74e7('0x3'),'afterUpdate':'update','afterDestroy':_0x74e7('0x4')};function emitEvent(_0x35d5f2){return function(_0xf1a0b5,_0x3c2317,_0x3c384b){OpenchannelAccountEvents[_0x74e7('0x5')](_0x35d5f2+':'+_0xf1a0b5['id'],_0xf1a0b5);OpenchannelAccountEvents[_0x74e7('0x5')](_0x35d5f2,_0xf1a0b5);_0x3c384b(null);};}for(var e in events){if(events[_0x74e7('0x6')](e)){var event=events[e];OpenchannelAccount['hook'](e,emitEvent(event));}}module[_0x74e7('0x7')]=OpenchannelAccountEvents;
\ No newline at end of file
+var _0x73d5=['update','remove','emit','hasOwnProperty','exports','events','../../mysqldb','OpenchannelAccount','setMaxListeners','save'];(function(_0x230615,_0x3916bc){var _0xf81957=function(_0x18bc96){while(--_0x18bc96){_0x230615['push'](_0x230615['shift']());}};_0xf81957(++_0x3916bc);}(_0x73d5,0xc3));var _0x573d=function(_0x2b5062,_0x12b234){_0x2b5062=_0x2b5062-0x0;var _0x15b1e1=_0x73d5[_0x2b5062];return _0x15b1e1;};'use strict';var EventEmitter=require(_0x573d('0x0'));var OpenchannelAccount=require(_0x573d('0x1'))['db'][_0x573d('0x2')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x573d('0x3')](0x0);var events={'afterCreate':_0x573d('0x4'),'afterUpdate':_0x573d('0x5'),'afterDestroy':_0x573d('0x6')};function emitEvent(_0x5649fc){return function(_0x480a74,_0x1d577d,_0xdf6550){OpenchannelAccountEvents[_0x573d('0x7')](_0x5649fc+':'+_0x480a74['id'],_0x480a74);OpenchannelAccountEvents[_0x573d('0x7')](_0x5649fc,_0x480a74);_0xdf6550(null);};}for(var e in events){if(events[_0x573d('0x8')](e)){var event=events[e];OpenchannelAccount['hook'](e,emitEvent(event));}}module[_0x573d('0x9')]=OpenchannelAccountEvents;
\ No newline at end of file