Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / openchannelQueue / openchannelQueue.events.js
index 4632b5f..1667a84 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9b29=['setMaxListeners','save','emit','hasOwnProperty','hook','exports','events','../../mysqldb','OpenchannelQueue'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0x9b29,0x1a4));var _0x99b2=function(_0x2c5207,_0x317aa9){_0x2c5207=_0x2c5207-0x0;var _0x43870d=_0x9b29[_0x2c5207];return _0x43870d;};'use strict';var EventEmitter=require(_0x99b2('0x0'));var OpenchannelQueue=require(_0x99b2('0x1'))['db'][_0x99b2('0x2')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x99b2('0x3')](0x0);var events={'afterCreate':_0x99b2('0x4'),'afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0xa94781){return function(_0x5b7e8b,_0xd21792,_0xe6b99c){OpenchannelQueueEvents[_0x99b2('0x5')](_0xa94781+':'+_0x5b7e8b['id'],_0x5b7e8b);OpenchannelQueueEvents[_0x99b2('0x5')](_0xa94781,_0x5b7e8b);_0xe6b99c(null);};}for(var e in events){if(events[_0x99b2('0x6')](e)){var event=events[e];OpenchannelQueue[_0x99b2('0x7')](e,emitEvent(event));}}module[_0x99b2('0x8')]=OpenchannelQueueEvents;
\ No newline at end of file
+var _0xe1c9=['setMaxListeners','save','remove','emit','hasOwnProperty','hook','exports','events','OpenchannelQueue'];(function(_0x7fd71f,_0x40568d){var _0x5b5c73=function(_0xe49530){while(--_0xe49530){_0x7fd71f['push'](_0x7fd71f['shift']());}};_0x5b5c73(++_0x40568d);}(_0xe1c9,0x7c));var _0x9e1c=function(_0x229d7e,_0x5bc489){_0x229d7e=_0x229d7e-0x0;var _0xa78280=_0xe1c9[_0x229d7e];return _0xa78280;};'use strict';var EventEmitter=require(_0x9e1c('0x0'));var OpenchannelQueue=require('../../mysqldb')['db'][_0x9e1c('0x1')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x9e1c('0x2')](0x0);var events={'afterCreate':_0x9e1c('0x3'),'afterUpdate':'update','afterDestroy':_0x9e1c('0x4')};function emitEvent(_0x592f99){return function(_0x54cf9c,_0x512b6b,_0x51f678){OpenchannelQueueEvents[_0x9e1c('0x5')](_0x592f99+':'+_0x54cf9c['id'],_0x54cf9c);OpenchannelQueueEvents[_0x9e1c('0x5')](_0x592f99,_0x54cf9c);_0x51f678(null);};}for(var e in events){if(events[_0x9e1c('0x6')](e)){var event=events[e];OpenchannelQueue[_0x9e1c('0x7')](e,emitEvent(event));}}module[_0x9e1c('0x8')]=OpenchannelQueueEvents;
\ No newline at end of file