X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceQueue%2FvoiceQueue.socket.js;h=ec2fb1c66fc7049691c047d68e79c03bcc3274e6;hb=ff1c11e14fca8d30ba993bf9ad292fb70d9b0b0b;hp=ad67a15a265535ce3404ca43f6842efb645f5bf8;hpb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;p=motion2.git diff --git a/server/api/voiceQueue/voiceQueue.socket.js b/server/api/voiceQueue/voiceQueue.socket.js index ad67a15..ec2fb1c 100644 --- a/server/api/voiceQueue/voiceQueue.socket.js +++ b/server/api/voiceQueue/voiceQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb05e=['remove','update','emit','removeListener','length','./voiceQueue.events','save'];(function(_0x4f23e0,_0x4f350e){var _0x1dbe1b=function(_0x529b72){while(--_0x529b72){_0x4f23e0['push'](_0x4f23e0['shift']());}};_0x1dbe1b(++_0x4f350e);}(_0xb05e,0x83));var _0xeb05=function(_0x5916c6,_0x329433){_0x5916c6=_0x5916c6-0x0;var _0x4389d3=_0xb05e[_0x5916c6];return _0x4389d3;};'use strict';var VoiceQueueEvents=require(_0xeb05('0x0'));var events=[_0xeb05('0x1'),_0xeb05('0x2'),_0xeb05('0x3')];function createListener(_0x2cecd5,_0x468187){return function(_0x65576c){_0x468187[_0xeb05('0x4')](_0x2cecd5,_0x65576c);};}function removeListener(_0x3c905e,_0x45bc38){return function(){VoiceQueueEvents[_0xeb05('0x5')](_0x3c905e,_0x45bc38);};}exports['register']=function(_0x27f0b2){for(var _0x356f9e=0x0,_0x333779=events[_0xeb05('0x6')];_0x356f9e<_0x333779;_0x356f9e++){var _0x5ee0a4=events[_0x356f9e];var _0x41f10d=createListener('voiceQueue:'+_0x5ee0a4,_0x27f0b2);VoiceQueueEvents['on'](_0x5ee0a4,_0x41f10d);}}; \ No newline at end of file +var _0x05f0=['./voiceQueue.events','save','remove','update','emit','removeListener','register','voiceQueue:'];(function(_0x31a98e,_0x19b04a){var _0x3098e6=function(_0x522356){while(--_0x522356){_0x31a98e['push'](_0x31a98e['shift']());}};_0x3098e6(++_0x19b04a);}(_0x05f0,0x170));var _0x005f=function(_0x430459,_0x58519c){_0x430459=_0x430459-0x0;var _0x3a2439=_0x05f0[_0x430459];return _0x3a2439;};'use strict';var VoiceQueueEvents=require(_0x005f('0x0'));var events=[_0x005f('0x1'),_0x005f('0x2'),_0x005f('0x3')];function createListener(_0x57690b,_0x3c44c6){return function(_0x4572da){_0x3c44c6[_0x005f('0x4')](_0x57690b,_0x4572da);};}function removeListener(_0x3be0f4,_0x250232){return function(){VoiceQueueEvents[_0x005f('0x5')](_0x3be0f4,_0x250232);};}exports[_0x005f('0x6')]=function(_0x12f43a){for(var _0x197ff0=0x0,_0x462caa=events['length'];_0x197ff0<_0x462caa;_0x197ff0++){var _0x1a52c7=events[_0x197ff0];var _0x34271d=createListener(_0x005f('0x7')+_0x1a52c7,_0x12f43a);VoiceQueueEvents['on'](_0x1a52c7,_0x34271d);}}; \ No newline at end of file