Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / voiceQueue / voiceQueue.socket.js
index fda56e1..74a5d7b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd7a1=['update','register','length','voiceQueue:','./voiceQueue.events','remove'];(function(_0x3e1b7e,_0x1049ad){var _0x474708=function(_0x222a04){while(--_0x222a04){_0x3e1b7e['push'](_0x3e1b7e['shift']());}};_0x474708(++_0x1049ad);}(_0xd7a1,0x136));var _0x1d7a=function(_0x37b519,_0x24b2ca){_0x37b519=_0x37b519-0x0;var _0x412276=_0xd7a1[_0x37b519];return _0x412276;};'use strict';var VoiceQueueEvents=require(_0x1d7a('0x0'));var events=['save',_0x1d7a('0x1'),_0x1d7a('0x2')];function createListener(_0x6f05d3,_0x16f08f){return function(_0x454aa6){_0x16f08f['emit'](_0x6f05d3,_0x454aa6);};}function removeListener(_0x5d41a7,_0x393662){return function(){VoiceQueueEvents['removeListener'](_0x5d41a7,_0x393662);};}exports[_0x1d7a('0x3')]=function(_0x269605){for(var _0x289952=0x0,_0x1fdacf=events[_0x1d7a('0x4')];_0x289952<_0x1fdacf;_0x289952++){var _0x4a5733=events[_0x289952];var _0x3719c1=createListener(_0x1d7a('0x5')+_0x4a5733,_0x269605);VoiceQueueEvents['on'](_0x4a5733,_0x3719c1);}};
\ No newline at end of file
+var _0xfafc=['length','voiceQueue:','./voiceQueue.events','save','remove','update','emit'];(function(_0x465812,_0x2f56f6){var _0x4408c8=function(_0x2e3255){while(--_0x2e3255){_0x465812['push'](_0x465812['shift']());}};_0x4408c8(++_0x2f56f6);}(_0xfafc,0xb1));var _0xcfaf=function(_0x1a595a,_0x263824){_0x1a595a=_0x1a595a-0x0;var _0x33f008=_0xfafc[_0x1a595a];return _0x33f008;};'use strict';var VoiceQueueEvents=require(_0xcfaf('0x0'));var events=[_0xcfaf('0x1'),_0xcfaf('0x2'),_0xcfaf('0x3')];function createListener(_0xefdc3f,_0x3ca184){return function(_0xcd294c){_0x3ca184[_0xcfaf('0x4')](_0xefdc3f,_0xcd294c);};}function removeListener(_0x2d09ce,_0x2051d9){return function(){VoiceQueueEvents['removeListener'](_0x2d09ce,_0x2051d9);};}exports['register']=function(_0x277534){for(var _0x2fda95=0x0,_0x11e238=events[_0xcfaf('0x5')];_0x2fda95<_0x11e238;_0x2fda95++){var _0x118732=events[_0x2fda95];var _0x33b616=createListener(_0xcfaf('0x6')+_0x118732,_0x277534);VoiceQueueEvents['on'](_0x118732,_0x33b616);}};
\ No newline at end of file