DamageStudios/rims

View on GitHub

Showing 250 of 250 total issues

Function access has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {

    Avoid deeply nested control flow statements.
    Open

                                        if ( ofType ?
                                            node.nodeName.toLowerCase() === name :
                                            node.nodeType === 1 ) {
    
                                            return false;

      Avoid deeply nested control flow statements.
      Open

                              if ( nid === expando ) {
                                  context.removeAttribute( "id" );
                              }

        Avoid deeply nested control flow statements.
        Open

                                if ( matches[ sel ] === undefined ) {
                                    matches[ sel ] = handleObj.needsContext ?
                                        jQuery( sel, this ).index( cur ) > -1 :
                                        jQuery.find( sel, this, null, [ cur ] ).length;
                                }

          Avoid deeply nested control flow statements.
          Open

                              if ( rscriptType.test( node.type || "" ) &&
                                  !jQuery._data( node, "globalEval" ) &&
                                  jQuery.contains( doc, node ) ) {
          
                                  if ( node.src ) {

            Avoid deeply nested control flow statements.
            Open

                                        if ( !(unmatched[i] || setMatched[i]) ) {
                                            setMatched[i] = pop.call( results );
                                        }

              Avoid deeply nested control flow statements.
              Open

                                      while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
                                          cur = cur.replace( " " + clazz + " ", " " );
                                      }

                Avoid deeply nested control flow statements.
                Open

                                    if ( copyIsArray ) {
                                        copyIsArray = false;
                                        clone = src && jQuery.isArray( src ) ? src : [];
                
                                    } else {

                  Avoid deeply nested control flow statements.
                  Open

                                          for ( type in data.events ) {
                                              if ( special[ type ] ) {
                                                  jQuery.event.remove( elem, type );
                  
                                              // This is a shortcut to avoid jQuery.event.remove's overhead

                    Avoid deeply nested control flow statements.
                    Open

                                        for ( conv2 in converters ) {
                    
                                            // If conv2 outputs current
                                            tmp = conv2.split( " " );
                                            if ( tmp[ 1 ] === current ) {

                      Avoid deeply nested control flow statements.
                      Open

                                          while ( j-- ) {
                                              if ( jQuery.nodeName( ( tbody = elem.childNodes[ j ] ), "tbody" ) &&
                                                  !tbody.childNodes.length ) {
                      
                                                  elem.removeChild( tbody );

                        Avoid deeply nested control flow statements.
                        Open

                                                    if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
                                                        return true;
                                                    }

                          Function setMatcher has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {

                            Avoid deeply nested control flow statements.
                            Open

                                                    if ( (elem = matcherOut[i]) ) {
                                                        // Restore matcherIn since elem is not yet a final match
                                                        temp.push( (matcherIn[i] = elem) );
                                                    }

                              Avoid deeply nested control flow statements.
                              Open

                                                  if ( !selector ) {
                                                      push.apply( results, seed );
                                                      return results;
                                                  }

                                Avoid deeply nested control flow statements.
                                Open

                                                } else if ( copy !== undefined ) {
                                                    target[ name ] = copy;
                                                }

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                                              cur += clazz + " ";
                                                          }

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                    if ( xhr.readyState !== 4 ) {
                                                                        xhr.abort();
                                                                    }

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                      if ( typeof xhr.responseText === "string" ) {
                                                                          responses.text = xhr.responseText;
                                                                      }

                                        Function on has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        function on( elem, types, selector, data, fn, one ) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language