Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 9121a78..5854efe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc188=['UserVoiceQueueRt','setMaxListeners','update','remove','emit','hook','exports','events'];(function(_0x3c3de6,_0x22bfb9){var _0x5732cb=function(_0x3a8668){while(--_0x3a8668){_0x3c3de6['push'](_0x3c3de6['shift']());}};_0x5732cb(++_0x22bfb9);}(_0xc188,0x11f));var _0x8c18=function(_0x304d85,_0x3bd383){_0x304d85=_0x304d85-0x0;var _0x570077=_0xc188[_0x304d85];return _0x570077;};'use strict';var EventEmitter=require(_0x8c18('0x0'));var UserVoiceQueueRt=require('../../mysqldb')['db'][_0x8c18('0x1')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x8c18('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x8c18('0x3'),'afterDestroy':_0x8c18('0x4')};function emitEvent(_0x1bdaaf){return function(_0x312a7f,_0x9fc0d4,_0xe9f3d7){UserVoiceQueueRtEvents['emit'](_0x1bdaaf+':'+_0x312a7f['id'],_0x312a7f);UserVoiceQueueRtEvents[_0x8c18('0x5')](_0x1bdaaf,_0x312a7f);_0xe9f3d7(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];UserVoiceQueueRt[_0x8c18('0x6')](e,emitEvent(event));}}module[_0x8c18('0x7')]=UserVoiceQueueRtEvents;
\ No newline at end of file
+var _0xf470=['../../mysqldb','UserVoiceQueueRt','save','remove','emit','hasOwnProperty','hook','events'];(function(_0x5003bc,_0x18e9cc){var _0x57d786=function(_0x1ffd13){while(--_0x1ffd13){_0x5003bc['push'](_0x5003bc['shift']());}};_0x57d786(++_0x18e9cc);}(_0xf470,0x10f));var _0x0f47=function(_0x6cf19c,_0x2f3f02){_0x6cf19c=_0x6cf19c-0x0;var _0xce14f3=_0xf470[_0x6cf19c];return _0xce14f3;};'use strict';var EventEmitter=require(_0x0f47('0x0'));var UserVoiceQueueRt=require(_0x0f47('0x1'))['db'][_0x0f47('0x2')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x0f47('0x3'),'afterUpdate':'update','afterDestroy':_0x0f47('0x4')};function emitEvent(_0xc1a218){return function(_0x30a574,_0x45b203,_0x4dc9c9){UserVoiceQueueRtEvents[_0x0f47('0x5')](_0xc1a218+':'+_0x30a574['id'],_0x30a574);UserVoiceQueueRtEvents[_0x0f47('0x5')](_0xc1a218,_0x30a574);_0x4dc9c9(null);};}for(var e in events){if(events[_0x0f47('0x6')](e)){var event=events[e];UserVoiceQueueRt[_0x0f47('0x7')](e,emitEvent(event));}}module['exports']=UserVoiceQueueRtEvents;
\ No newline at end of file