Built motion from commit (unavailable).|2.5.28
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.events.js
index 31e63fe..94cf29c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d76=['setMaxListeners','save','update','remove','hook','exports','events','../../mysqldb'];(function(_0x4c736e,_0x23d336){var _0x534359=function(_0x490fd1){while(--_0x490fd1){_0x4c736e['push'](_0x4c736e['shift']());}};_0x534359(++_0x23d336);}(_0x2d76,0x176));var _0x62d7=function(_0x3862e6,_0x168099){_0x3862e6=_0x3862e6-0x0;var _0x50b550=_0x2d76[_0x3862e6];return _0x50b550;};'use strict';var EventEmitter=require(_0x62d7('0x0'));var UserVoiceQueueRt=require(_0x62d7('0x1'))['db']['UserVoiceQueueRt'];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x62d7('0x2')](0x0);var events={'afterCreate':_0x62d7('0x3'),'afterUpdate':_0x62d7('0x4'),'afterDestroy':_0x62d7('0x5')};function emitEvent(_0x4e8bf9){return function(_0xc9c144,_0x4ed563,_0x2f9164){UserVoiceQueueRtEvents['emit'](_0x4e8bf9+':'+_0xc9c144['id'],_0xc9c144);UserVoiceQueueRtEvents['emit'](_0x4e8bf9,_0xc9c144);_0x2f9164(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];UserVoiceQueueRt[_0x62d7('0x6')](e,emitEvent(event));}}module[_0x62d7('0x7')]=UserVoiceQueueRtEvents;
\ No newline at end of file
+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