danielkalen/eventful-promise

View on GitHub

Showing 6 of 6 total issues

Function _s$m has 216 lines of code (exceeds 25 allowed). Consider refactoring.
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.
        //
Severity: Major
Found in browser.js - About 1 day to fix

    File browser.js has 254 lines of code (exceeds 250 allowed). Consider refactoring.
    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.
    Severity: Minor
    Found in browser.js - About 2 hrs to fix

      Function emit has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              EventEmitter.prototype.emit = function(type) {
                var er, handler, len, args, i, listeners;
              
                if (!this._events)
                  this._events = {};
      Severity: Minor
      Found in browser.js - About 1 hr to fix

        Function removeListener has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                EventEmitter.prototype.removeListener = function(type, listener) {
                  var list, position, length, i;
                
                  if (!isFunction(listener))
                    throw TypeError('listener must be a function');
        Severity: Minor
        Found in browser.js - About 1 hr to fix

          Function addListener has 33 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  EventEmitter.prototype.addListener = function(type, listener) {
                    var m;
                  
                    if (!isFunction(listener))
                      throw TypeError('listener must be a function');
          Severity: Minor
          Found in browser.js - About 1 hr to fix

            Function removeAllListeners has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    EventEmitter.prototype.removeAllListeners = function(type) {
                      var key, listeners;
                    
                      if (!this._events)
                        return this;
            Severity: Minor
            Found in browser.js - About 1 hr to fix
              Severity
              Category
              Status
              Source
              Language