Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 31e63fe..eb138e3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d76=['setMaxListeners','save','update','remove','hook','exports','events','../../mysqldb'];(function(_0x4c736e,_0x23d336){var _0x534359=function(_0x490fd1){while(--_0x490fd1){_0x4c736e['push'](_0x4c736e['shift']());}};_0x534359(++_0x23d336);}(_0x2d76,0x176));var _0x62d7=function(_0x3862e6,_0x168099){_0x3862e6=_0x3862e6-0x0;var _0x50b550=_0x2d76[_0x3862e6];return _0x50b550;};'use strict';var EventEmitter=require(_0x62d7('0x0'));var UserVoiceQueueRt=require(_0x62d7('0x1'))['db']['UserVoiceQueueRt'];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x62d7('0x2')](0x0);var events={'afterCreate':_0x62d7('0x3'),'afterUpdate':_0x62d7('0x4'),'afterDestroy':_0x62d7('0x5')};function emitEvent(_0x4e8bf9){return function(_0xc9c144,_0x4ed563,_0x2f9164){UserVoiceQueueRtEvents['emit'](_0x4e8bf9+':'+_0xc9c144['id'],_0xc9c144);UserVoiceQueueRtEvents['emit'](_0x4e8bf9,_0xc9c144);_0x2f9164(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];UserVoiceQueueRt[_0x62d7('0x6')](e,emitEvent(event));}}module[_0x62d7('0x7')]=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