Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / api / openchannelQueue / openchannelQueue.events.js
index 4679315..58be471 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x77c9=['hasOwnProperty','hook','events','../../mysqldb','OpenchannelQueue','setMaxListeners','save','update','remove','emit'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x77c9,0x8e));var _0x977c=function(_0x3b30be,_0x47bcd9){_0x3b30be=_0x3b30be-0x0;var _0x546361=_0x77c9[_0x3b30be];return _0x546361;};'use strict';var EventEmitter=require(_0x977c('0x0'));var OpenchannelQueue=require(_0x977c('0x1'))['db'][_0x977c('0x2')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x977c('0x3')](0x0);var events={'afterCreate':_0x977c('0x4'),'afterUpdate':_0x977c('0x5'),'afterDestroy':_0x977c('0x6')};function emitEvent(_0xfbfb28){return function(_0x447111,_0x56451b,_0x334a99){OpenchannelQueueEvents[_0x977c('0x7')](_0xfbfb28+':'+_0x447111['id'],_0x447111);OpenchannelQueueEvents[_0x977c('0x7')](_0xfbfb28,_0x447111);_0x334a99(null);};}for(var e in events){if(events[_0x977c('0x8')](e)){var event=events[e];OpenchannelQueue[_0x977c('0x9')](e,emitEvent(event));}}module['exports']=OpenchannelQueueEvents;
\ No newline at end of file
+var _0x8af0=['setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','OpenchannelQueue'];(function(_0x1d1aaf,_0x19e68c){var _0x5d6668=function(_0x514b35){while(--_0x514b35){_0x1d1aaf['push'](_0x1d1aaf['shift']());}};_0x5d6668(++_0x19e68c);}(_0x8af0,0x15d));var _0x08af=function(_0xf6e75d,_0xc70967){_0xf6e75d=_0xf6e75d-0x0;var _0x27514d=_0x8af0[_0xf6e75d];return _0x27514d;};'use strict';var EventEmitter=require(_0x08af('0x0'));var OpenchannelQueue=require(_0x08af('0x1'))['db'][_0x08af('0x2')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x08af('0x3')](0x0);var events={'afterCreate':_0x08af('0x4'),'afterUpdate':_0x08af('0x5'),'afterDestroy':_0x08af('0x6')};function emitEvent(_0x5378ae){return function(_0x5eb83f,_0x5dcf7e,_0x22c77c){OpenchannelQueueEvents[_0x08af('0x7')](_0x5378ae+':'+_0x5eb83f['id'],_0x5eb83f);OpenchannelQueueEvents[_0x08af('0x7')](_0x5378ae,_0x5eb83f);_0x22c77c(null);};}for(var e in events){if(events[_0x08af('0x8')](e)){var event=events[e];OpenchannelQueue[_0x08af('0x9')](e,emitEvent(event));}}module[_0x08af('0xa')]=OpenchannelQueueEvents;
\ No newline at end of file