angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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

function on( elem, types, selector, data, fn, one ) {

    Avoid deeply nested control flow statements.
    Open

                        if ( nodeType === 9 ) {
                            if ( (elem = context.getElementById( m )) ) {
    
                                // Support: IE, Opera, Webkit
                                // TODO: identify versions

      Avoid deeply nested control flow statements.
      Open

                          while ( i-- ) {
                              groups[i] = "#" + nid + " " + toSelector( groups[i] );
                          }

        Avoid deeply nested control flow statements.
        Open

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

          Avoid deeply nested control flow statements.
          Open

                                              if ( ( ofType ?
                                                  node.nodeName.toLowerCase() === name :
                                                  node.nodeType === 1 ) &&
                                                  ++diff ) {
          
          

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

                init: function( elem, options, prop, end, easing, unit ) {

              Avoid deeply nested control flow statements.
              Open

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

                Avoid deeply nested control flow statements.
                Open

                                    if ( Expr.relative[ tokens[j].type ] ) {
                                        break;
                                    }

                  Avoid deeply nested control flow statements.
                  Open

                                          for ( match in context ) {
                  
                                              // Properties of context are called as methods if possible
                                              if ( jQuery.isFunction( this[ match ] ) ) {
                                                  this[ match ]( context[ match ] );

                    Avoid deeply nested control flow statements.
                    Open

                                        if ( hasScripts ) {
                    
                                            // Support: Android <=4.0 only, PhantomJS 1 only
                                            // push.apply(_, arraylike) throws on ancient WebKit
                                            jQuery.merge( scripts, getAll( node, "script" ) );

                      Avoid deeply nested control flow statements.
                      Open

                                              if ( matches[ sel ] ) {
                                                  matches.push( handleObj );
                                              }

                        Avoid deeply nested control flow statements.
                        Open

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

                          Avoid deeply nested control flow statements.
                          Open

                                              if ( restoreDisplay == null ) {
                                                  display = style.display;
                                                  restoreDisplay = display === "none" ? "" : display;
                                              }

                            Avoid deeply nested control flow statements.
                            Open

                                                if ( conv && s.throws ) {
                                                    response = conv( response );
                                                } else {
                                                    try {
                                                        response = conv( response );

                              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 ( cur.indexOf( " " + clazz + " " ) > -1 ) {
                                                            cur = cur.replace( " " + clazz + " ", " " );
                                                        }

                                  Avoid deeply nested control flow statements.
                                  Open

                                              if (obj instanceof Assign) {
                                                defaultValue = obj.value;
                                                obj = obj.variable;
                                              }

                                    Avoid deeply nested control flow statements.
                                    Open

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

                                      Avoid deeply nested control flow statements.
                                      Open

                                                          if ( Expr.relative[ tokens[j].type ] ) {
                                                              break;
                                                          }

                                        Avoid deeply nested control flow statements.
                                        Open

                                                            if ( name in thisCache ) {
                                                                name = [ name ];
                                                            } else {
                                                                name = name.split( " " );
                                                            }
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language