Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 94cf29c..1706831 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe9f9=['exports','events','../../mysqldb','UserVoiceQueueRt','save','update','remove','emit','hasOwnProperty'];(function(_0x15e4b3,_0x5e7693){var _0xc9ec2f=function(_0x264528){while(--_0x264528){_0x15e4b3['push'](_0x15e4b3['shift']());}};_0xc9ec2f(++_0x5e7693);}(_0xe9f9,0x184));var _0x9e9f=function(_0x52e625,_0x4a38f3){_0x52e625=_0x52e625-0x0;var _0x2da7f6=_0xe9f9[_0x52e625];return _0x2da7f6;};'use strict';var EventEmitter=require(_0x9e9f('0x0'));var UserVoiceQueueRt=require(_0x9e9f('0x1'))['db'][_0x9e9f('0x2')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x9e9f('0x3'),'afterUpdate':_0x9e9f('0x4'),'afterDestroy':_0x9e9f('0x5')};function emitEvent(_0x5d3bfb){return function(_0x20f468,_0x1fd54c,_0x3cd2cb){UserVoiceQueueRtEvents[_0x9e9f('0x6')](_0x5d3bfb+':'+_0x20f468['id'],_0x20f468);UserVoiceQueueRtEvents[_0x9e9f('0x6')](_0x5d3bfb,_0x20f468);_0x3cd2cb(null);};}for(var e in events){if(events[_0x9e9f('0x7')](e)){var event=events[e];UserVoiceQueueRt['hook'](e,emitEvent(event));}}module[_0x9e9f('0x8')]=UserVoiceQueueRtEvents;
\ No newline at end of file
+var _0xd96c=['hook','events','UserVoiceQueueRt','setMaxListeners','save','update','remove','hasOwnProperty'];(function(_0x230dd3,_0x26024b){var _0x7987fa=function(_0x36a021){while(--_0x36a021){_0x230dd3['push'](_0x230dd3['shift']());}};_0x7987fa(++_0x26024b);}(_0xd96c,0xc1));var _0xcd96=function(_0x5cdacf,_0x7c82b1){_0x5cdacf=_0x5cdacf-0x0;var _0xa68a8b=_0xd96c[_0x5cdacf];return _0xa68a8b;};'use strict';var EventEmitter=require(_0xcd96('0x0'));var UserVoiceQueueRt=require('../../mysqldb')['db'][_0xcd96('0x1')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0xcd96('0x2')](0x0);var events={'afterCreate':_0xcd96('0x3'),'afterUpdate':_0xcd96('0x4'),'afterDestroy':_0xcd96('0x5')};function emitEvent(_0x114a38){return function(_0x115199,_0x128a04,_0x507415){UserVoiceQueueRtEvents['emit'](_0x114a38+':'+_0x115199['id'],_0x115199);UserVoiceQueueRtEvents['emit'](_0x114a38,_0x115199);_0x507415(null);};}for(var e in events){if(events[_0xcd96('0x6')](e)){var event=events[e];UserVoiceQueueRt[_0xcd96('0x7')](e,emitEvent(event));}}module['exports']=UserVoiceQueueRtEvents;
\ No newline at end of file