balanced/rentmybikes-rails

View on GitHub

Showing 134 of 150 total issues

Avoid deeply nested control flow statements.
Open

                        if ( matches[ sel ] ) {
                            matches.push( handleObj );
                        }
Severity: Major
Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
                            contains( context, elem ) && elem.id === m ) {
                            results.push( elem );
                            return results;
                        }
    Severity: Major
    Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                  cur += clazz + " ";
                              }
      Severity: Major
      Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

        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) );
                                }
        Severity: Major
        Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if ( rscriptType.test( node.type || "" ) &&
                                      !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
          
                                      if ( node.src ) {
                                          // Hope ajax is available...
          Severity: Major
          Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    if ( deleteExpando ) {
                                        delete elem[ internalKey ];
            
                                    } else if ( typeof elem.removeAttribute !== core_strundefined ) {
                                        elem.removeAttribute( internalKey );
            Severity: Major
            Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                                  if ( xhrOnUnloadAbort ) {
                                                      delete xhrCallbacks[ handle ];
                                                  }
              Severity: Major
              Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 45 mins to fix

                Consider simplifying this complex logical expression.
                Open

                            if ( matcher[ expando ] ) {
                                // Find the next relative operator (if any) for proper handling
                                j = ++i;
                                for ( ; j < len; j++ ) {
                                    if ( Expr.relative[ tokens[j].type ] ) {
                Severity: Major
                Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                  if ( !jQuery.support.opacity ) {
                      jQuery.cssHooks.opacity = {
                          get: function( elem, computed ) {
                              // IE uses filters for opacity
                              return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                  Severity: Major
                  Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 40 mins to fix

                    Consider simplifying this complex logical expression.
                    Open

                        if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) {
                            return;
                        }
                    Severity: Major
                    Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 40 mins to fix

                      Consider simplifying this complex logical expression.
                      Open

                              if ( s.crossDomain == null ) {
                                  parts = rurl.exec( s.url.toLowerCase() );
                                  s.crossDomain = !!( parts &&
                                      ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
                                          ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
                      Severity: Major
                      Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 40 mins to fix

                        Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                                superMatcher = function( seed, context, xml, results, expandContext ) {
                        Severity: Minor
                        Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

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

                              on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                          Severity: Minor
                          Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                            Function Tween has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            function Tween( elem, options, prop, end, easing ) {
                            Severity: Minor
                            Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                              Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              function condense( unmatched, map, filter, context, xml ) {
                              Severity: Minor
                              Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                                Function CHILD has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                        "CHILD": function( type, what, argument, first, last ) {
                                Severity: Minor
                                Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                                  Function augmentWidthOrHeight has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                                  Severity: Minor
                                  Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                                    Function add has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        add: function( elem, types, handler, data, selector ) {
                                    Severity: Minor
                                    Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                                      Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          remove: function( elem, types, handler, selector, mappedTypes ) {
                                      Severity: Minor
                                      Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 35 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return ret;
                                        Severity: Major
                                        Found in public/assets/application-e688f6a6a31635feee665e7f52483711.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language