Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index d0a7f29..eb138e3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0266=['exports','events','../../mysqldb','setMaxListeners','save','update','remove','emit','hasOwnProperty'];(function(_0x130d34,_0xb829c2){var _0x3bf5d2=function(_0x279065){while(--_0x279065){_0x130d34['push'](_0x130d34['shift']());}};_0x3bf5d2(++_0xb829c2);}(_0x0266,0x145));var _0x6026=function(_0x1203f,_0x554bbc){_0x1203f=_0x1203f-0x0;var _0x365f0a=_0x0266[_0x1203f];return _0x365f0a;};'use strict';var EventEmitter=require(_0x6026('0x0'));var UserVoiceQueueRt=require(_0x6026('0x1'))['db']['UserVoiceQueueRt'];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x6026('0x2')](0x0);var events={'afterCreate':_0x6026('0x3'),'afterUpdate':_0x6026('0x4'),'afterDestroy':_0x6026('0x5')};function emitEvent(_0x26615f){return function(_0x41d7a7,_0x36b1d6,_0x5a623b){UserVoiceQueueRtEvents[_0x6026('0x6')](_0x26615f+':'+_0x41d7a7['id'],_0x41d7a7);UserVoiceQueueRtEvents[_0x6026('0x6')](_0x26615f,_0x41d7a7);_0x5a623b(null);};}for(var e in events){if(events[_0x6026('0x7')](e)){var event=events[e];UserVoiceQueueRt['hook'](e,emitEvent(event));}}module[_0x6026('0x8')]=UserVoiceQueueRtEvents;
\ No newline at end of file
+var _0x5239=['hook','exports','events','../../mysqldb','UserVoiceQueueRt','setMaxListeners','save','update','remove','emit','hasOwnProperty'];(function(_0x3a9cfd,_0x4755a8){var _0x3248cc=function(_0x959046){while(--_0x959046){_0x3a9cfd['push'](_0x3a9cfd['shift']());}};_0x3248cc(++_0x4755a8);}(_0x5239,0x91));var _0x9523=function(_0x486a8f,_0x86825a){_0x486a8f=_0x486a8f-0x0;var _0x5640fe=_0x5239[_0x486a8f];return _0x5640fe;};'use strict';var EventEmitter=require(_0x9523('0x0'));var UserVoiceQueueRt=require(_0x9523('0x1'))['db'][_0x9523('0x2')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x9523('0x3')](0x0);var events={'afterCreate':_0x9523('0x4'),'afterUpdate':_0x9523('0x5'),'afterDestroy':_0x9523('0x6')};function emitEvent(_0x344f2b){return function(_0x3f0540,_0x3157fc,_0x5037f7){UserVoiceQueueRtEvents[_0x9523('0x7')](_0x344f2b+':'+_0x3f0540['id'],_0x3f0540);UserVoiceQueueRtEvents['emit'](_0x344f2b,_0x3f0540);_0x5037f7(null);};}for(var e in events){if(events[_0x9523('0x8')](e)){var event=events[e];UserVoiceQueueRt[_0x9523('0x9')](e,emitEvent(event));}}module[_0x9523('0xa')]=UserVoiceQueueRtEvents;
\ No newline at end of file