Showing 6 of 6 total issues
Function _s$m
has 216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _s$m=function(m,c,l,_s$m){_s$m=function(r){return l[r] ? c[r]: (l[r]=1,c[r]={},c[r]=m[r](c[r]));};
m[1] = function(exports){
var module = {exports:exports};
// Copyright Joyent, Inc. and other Node contributors.
//
File browser.js
has 254 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function(){
var _s$m=function(m,c,l,_s$m){_s$m=function(r){return l[r] ? c[r]: (l[r]=1,c[r]={},c[r]=m[r](c[r]));};
m[1] = function(exports){
var module = {exports:exports};
// Copyright Joyent, Inc. and other Node contributors.
Function emit
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.emit = function(type) {
var er, handler, len, args, i, listeners;
if (!this._events)
this._events = {};
Function removeListener
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.removeListener = function(type, listener) {
var list, position, length, i;
if (!isFunction(listener))
throw TypeError('listener must be a function');
Function addListener
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.addListener = function(type, listener) {
var m;
if (!isFunction(listener))
throw TypeError('listener must be a function');
Function removeAllListeners
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.removeAllListeners = function(type) {
var key, listeners;
if (!this._events)
return this;