erikroyall/hilo

View on GitHub

Showing 179 of 292 total issues

Avoid deeply nested control flow statements.
Open

                  if (contains(parts[_i])) {
                    el.className.replace(parts[_i], "");
                  } else {
                    el.className += " " +  parts[_i];
                  }
Severity: Major
Found in build/hilo-legacy.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                      if (contains) {
                        el.classList.remove(parts[_i]);
                      } else {
                        el.classList.add(parts[_i]);
                      }
    Severity: Major
    Found in build/hilo-legacy.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                      if (contains(parts[_i])) {
                        el.className.replace(parts[_i], "");
                      } else {
                        el.className += " " +  parts[_i];
                      }
      Severity: Major
      Found in build/hilo-legacy.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                          if (contains(parts[_i])) {
                            el.classList.remove(parts[_i]);
                          }
        Severity: Major
        Found in build/hilo-legacy.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                            if (!contains(parts[_i])) {
                              el.className += " " +  parts[_i];
                            }
          Severity: Major
          Found in build/hilo-legacy.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 build/hilo-legacy.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                              if (contains(parts[_i])) {
                                el.classList.remove(parts[_i]);
                              }
              Severity: Major
              Found in build/hilo-legacy.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                  if (!contains(parts[_i])) {
                                    el.classList.add(parts[_i]);
                                  }
                Severity: Major
                Found in build/hilo-legacy.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                  if (contains(parts[_i])) {
                                    el.className.replace(parts[_i], "");
                                  }
                  Severity: Major
                  Found in build/hilo-legacy.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                      if (contains(parts[_i])) {
                                        el.classList.remove(parts[_i]);
                                      } else {
                                        el.classList.add(parts[_i]);
                                      }
                    Severity: Major
                    Found in build/hilo-legacy.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                        if (contains) {
                                          el.className.replace(className, "");
                                        } else {
                                          el.className += " " +  className;
                                        }
                      Severity: Major
                      Found in build/hilo-legacy.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                        if (!contains(parts[_i])) {
                                          el.classList.add(parts[_i]);
                                        }
                        Severity: Major
                        Found in build/hilo-legacy.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                        if (Expr.relative[tokens[j].type]) {
                                          break;
                                        }
                          Severity: Major
                          Found in build/hilo-legacy.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                            if (contains(parts[_i])) {
                                              el.classList.remove(parts[_i]);
                                            } else {
                                              el.classList.add(parts[_i]);
                                            }
                            Severity: Major
                            Found in build/hilo-legacy.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                if (contains(parts[_i])) {
                                                  el.className.replace(parts[_i], "");
                                                }
                              Severity: Major
                              Found in build/hilo-legacy.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                if (!contains(parts[_i])) {
                                                  el.className += " " +  parts[_i];
                                                }
                                Severity: Major
                                Found in build/hilo-legacy.js - About 45 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                        if (support.matchesSelector && documentIsHTML &&
                                          (!rbuggyMatches || !rbuggyMatches.test(expr)) &&
                                          (!rbuggyQSA     || !rbuggyQSA.test(expr))) {
                                  
                                          try {
                                  Severity: Major
                                  Found in build/hilo-legacy.js - About 40 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 build/hilo-legacy.js - About 40 mins to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                            if (support.matchesSelector && documentIsHTML &&
                                              (!rbuggyMatches || !rbuggyMatches.test(expr)) &&
                                              (!rbuggyQSA     || !rbuggyQSA.test(expr))) {
                                      
                                              try {
                                      Severity: Major
                                      Found in src/sizzle.js - About 40 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 src/sizzle.js - About 40 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language