Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / openchannelAccount / openchannelAccount.events.js
index 2bcb00a..bcecec8 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 _0xc719=['exports','events','../../mysqldb','OpenchannelAccount','setMaxListeners','save','update','remove','emit','hasOwnProperty'];(function(_0x390717,_0x254de2){var _0x10bcf9=function(_0x43c480){while(--_0x43c480){_0x390717['push'](_0x390717['shift']());}};_0x10bcf9(++_0x254de2);}(_0xc719,0xb5));var _0x9c71=function(_0x2a0183,_0x3fc93c){_0x2a0183=_0x2a0183-0x0;var _0x158c3a=_0xc719[_0x2a0183];return _0x158c3a;};'use strict';var EventEmitter=require(_0x9c71('0x0'));var OpenchannelAccount=require(_0x9c71('0x1'))['db'][_0x9c71('0x2')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x9c71('0x3')](0x0);var events={'afterCreate':_0x9c71('0x4'),'afterUpdate':_0x9c71('0x5'),'afterDestroy':_0x9c71('0x6')};function emitEvent(_0x173999){return function(_0x1e350a,_0x2e8f11,_0x51d6fb){OpenchannelAccountEvents[_0x9c71('0x7')](_0x173999+':'+_0x1e350a['id'],_0x1e350a);OpenchannelAccountEvents[_0x9c71('0x7')](_0x173999,_0x1e350a);_0x51d6fb(null);};}for(var e in events){if(events[_0x9c71('0x8')](e)){var event=events[e];OpenchannelAccount['hook'](e,emitEvent(event));}}module[_0x9c71('0x9')]=OpenchannelAccountEvents;
\ No newline at end of file