Showing 1 of 4 total issues
Function _addDefaultListeners
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SocketMaster.prototype._addDefaultListeners = function(sck, nspRoute, item) {
var nspSocket = this.nsp[nspRoute];
sck.on('commands', function() {
this._emitList(nspSocket, 'commands', _.keys(item.commands));