Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / api / openchannelQueue / openchannelQueue.events.js
index 653e7a4..a1cb495 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x09f5=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','setMaxListeners','update'];(function(_0x591a90,_0x5525b0){var _0x551587=function(_0xd6ad8e){while(--_0xd6ad8e){_0x591a90['push'](_0x591a90['shift']());}};_0x551587(++_0x5525b0);}(_0x09f5,0x95));var _0x509f=function(_0x579b59,_0x314df0){_0x579b59=_0x579b59-0x0;var _0x483519=_0x09f5[_0x579b59];return _0x483519;};'use strict';var EventEmitter=require(_0x509f('0x0'));var OpenchannelQueue=require(_0x509f('0x1'))['db']['OpenchannelQueue'];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x509f('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x509f('0x3'),'afterDestroy':_0x509f('0x4')};function emitEvent(_0x473a18){return function(_0x44755b,_0x1fe5ae,_0x4236be){OpenchannelQueueEvents[_0x509f('0x5')](_0x473a18+':'+_0x44755b['id'],_0x44755b);OpenchannelQueueEvents['emit'](_0x473a18,_0x44755b);_0x4236be(null);};}for(var e in events){if(events[_0x509f('0x6')](e)){var event=events[e];OpenchannelQueue[_0x509f('0x7')](e,emitEvent(event));}}module[_0x509f('0x8')]=OpenchannelQueueEvents;
\ No newline at end of file
+var _0xc677=['hook','exports','../../mysqldb','OpenchannelQueue','update','emit','hasOwnProperty'];(function(_0x572b80,_0x28a74a){var _0xdae927=function(_0xac18dd){while(--_0xac18dd){_0x572b80['push'](_0x572b80['shift']());}};_0xdae927(++_0x28a74a);}(_0xc677,0x64));var _0x7c67=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xc677[_0x122ef9];return _0x42fba0;};'use strict';var EventEmitter=require('events');var OpenchannelQueue=require(_0x7c67('0x0'))['db'][_0x7c67('0x1')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x7c67('0x2'),'afterDestroy':'remove'};function emitEvent(_0x5591cd){return function(_0xf96355,_0x533486,_0xa0b05c){OpenchannelQueueEvents[_0x7c67('0x3')](_0x5591cd+':'+_0xf96355['id'],_0xf96355);OpenchannelQueueEvents['emit'](_0x5591cd,_0xf96355);_0xa0b05c(null);};}for(var e in events){if(events[_0x7c67('0x4')](e)){var event=events[e];OpenchannelQueue[_0x7c67('0x5')](e,emitEvent(event));}}module[_0x7c67('0x6')]=OpenchannelQueueEvents;
\ No newline at end of file