Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index c161df5..e1c36cb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xca46=['remove','hasOwnProperty','hook','exports','events','../../mysqldb','UserVoiceQueueRt','setMaxListeners','update'];(function(_0x128980,_0x43f05c){var _0x537c8d=function(_0x2fc3b5){while(--_0x2fc3b5){_0x128980['push'](_0x128980['shift']());}};_0x537c8d(++_0x43f05c);}(_0xca46,0x9d));var _0x6ca4=function(_0x1016c0,_0x4670da){_0x1016c0=_0x1016c0-0x0;var _0x39a7cb=_0xca46[_0x1016c0];return _0x39a7cb;};'use strict';var EventEmitter=require(_0x6ca4('0x0'));var UserVoiceQueueRt=require(_0x6ca4('0x1'))['db'][_0x6ca4('0x2')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x6ca4('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0x6ca4('0x4'),'afterDestroy':_0x6ca4('0x5')};function emitEvent(_0x164fb2){return function(_0x25b95c,_0x316399,_0x39b5c6){UserVoiceQueueRtEvents['emit'](_0x164fb2+':'+_0x25b95c['id'],_0x25b95c);UserVoiceQueueRtEvents['emit'](_0x164fb2,_0x25b95c);_0x39b5c6(null);};}for(var e in events){if(events[_0x6ca4('0x6')](e)){var event=events[e];UserVoiceQueueRt[_0x6ca4('0x7')](e,emitEvent(event));}}module[_0x6ca4('0x8')]=UserVoiceQueueRtEvents;
\ No newline at end of file
+var _0xadb5=['emit','hook','../../mysqldb','UserVoiceQueueRt','setMaxListeners','save','update','remove'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xadb5,0x1d2));var _0x5adb=function(_0xdd31ef,_0x31f1fd){_0xdd31ef=_0xdd31ef-0x0;var _0x5295d3=_0xadb5[_0xdd31ef];return _0x5295d3;};'use strict';var EventEmitter=require('events');var UserVoiceQueueRt=require(_0x5adb('0x0'))['db'][_0x5adb('0x1')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x5adb('0x2')](0x0);var events={'afterCreate':_0x5adb('0x3'),'afterUpdate':_0x5adb('0x4'),'afterDestroy':_0x5adb('0x5')};function emitEvent(_0x5c31d6){return function(_0x5d791f,_0x42c464,_0x425251){UserVoiceQueueRtEvents['emit'](_0x5c31d6+':'+_0x5d791f['id'],_0x5d791f);UserVoiceQueueRtEvents[_0x5adb('0x6')](_0x5c31d6,_0x5d791f);_0x425251(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];UserVoiceQueueRt[_0x5adb('0x7')](e,emitEvent(event));}}module['exports']=UserVoiceQueueRtEvents;
\ No newline at end of file