Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 94cf29c..c7ba408 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 _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