Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 64e5c76..c7ba408 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x524b=['../../mysqldb','UserVoiceQueueRt','setMaxListeners','save','remove','emit','hasOwnProperty','events'];(function(_0x3b53b0,_0x23dc58){var _0x4eddc6=function(_0x46254f){while(--_0x46254f){_0x3b53b0['push'](_0x3b53b0['shift']());}};_0x4eddc6(++_0x23dc58);}(_0x524b,0x1b7));var _0xb524=function(_0x53ccf2,_0x13cb67){_0x53ccf2=_0x53ccf2-0x0;var _0x5a2964=_0x524b[_0x53ccf2];return _0x5a2964;};'use strict';var EventEmitter=require(_0xb524('0x0'));var UserVoiceQueueRt=require(_0xb524('0x1'))['db'][_0xb524('0x2')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0xb524('0x3')](0x0);var events={'afterCreate':_0xb524('0x4'),'afterUpdate':'update','afterDestroy':_0xb524('0x5')};function emitEvent(_0x253e57){return function(_0x2f0e7f,_0x5acfda,_0x1179e4){UserVoiceQueueRtEvents['emit'](_0x253e57+':'+_0x2f0e7f['id'],_0x2f0e7f);UserVoiceQueueRtEvents[_0xb524('0x6')](_0x253e57,_0x2f0e7f);_0x1179e4(null);};}for(var e in events){if(events[_0xb524('0x7')](e)){var event=events[e];UserVoiceQueueRt['hook'](e,emitEvent(event));}}module['exports']=UserVoiceQueueRtEvents;
\ No newline at end of file
+var _0xf60a=['setMaxListeners','update','remove','emit','hasOwnProperty','exports','events'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xf60a,0xae));var _0xaf60=function(_0x4fa72e,_0x336dda){_0x4fa72e=_0x4fa72e-0x0;var _0x28323a=_0xf60a[_0x4fa72e];return _0x28323a;};'use strict';var EventEmitter=require(_0xaf60('0x0'));var UserVoiceQueueRt=require('../../mysqldb')['db']['UserVoiceQueueRt'];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0xaf60('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':_0xaf60('0x2'),'afterDestroy':_0xaf60('0x3')};function emitEvent(_0x1bab62){return function(_0x219413,_0x294ed3,_0x3a638f){UserVoiceQueueRtEvents[_0xaf60('0x4')](_0x1bab62+':'+_0x219413['id'],_0x219413);UserVoiceQueueRtEvents[_0xaf60('0x4')](_0x1bab62,_0x219413);_0x3a638f(null);};}for(var e in events){if(events[_0xaf60('0x5')](e)){var event=events[e];UserVoiceQueueRt['hook'](e,emitEvent(event));}}module[_0xaf60('0x6')]=UserVoiceQueueRtEvents;
\ No newline at end of file