Showing 179 of 292 total issues
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.className.replace(parts[_i], "");
} else {
el.className += " " + parts[_i];
}
Avoid deeply nested control flow statements. Open
Open
if (contains) {
el.classList.remove(parts[_i]);
} else {
el.classList.add(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.className.replace(parts[_i], "");
} else {
el.className += " " + parts[_i];
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.classList.remove(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (!contains(parts[_i])) {
el.className += " " + parts[_i];
}
Avoid deeply nested control flow statements. Open
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
Open
if (contains(parts[_i])) {
el.classList.remove(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (!contains(parts[_i])) {
el.classList.add(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.className.replace(parts[_i], "");
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.classList.remove(parts[_i]);
} else {
el.classList.add(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (contains) {
el.className.replace(className, "");
} else {
el.className += " " + className;
}
Avoid deeply nested control flow statements. Open
Open
if (!contains(parts[_i])) {
el.classList.add(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (Expr.relative[tokens[j].type]) {
break;
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.classList.remove(parts[_i]);
} else {
el.classList.add(parts[_i]);
}
Avoid deeply nested control flow statements. Open
Open
if (contains(parts[_i])) {
el.className.replace(parts[_i], "");
}
Avoid deeply nested control flow statements. Open
Open
if (!contains(parts[_i])) {
el.className += " " + parts[_i];
}
Consider simplifying this complex logical expression. Open
Open
if (support.matchesSelector && documentIsHTML &&
(!rbuggyMatches || !rbuggyMatches.test(expr)) &&
(!rbuggyQSA || !rbuggyQSA.test(expr))) {
try {
Consider simplifying this complex logical expression. Open
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]) {
Consider simplifying this complex logical expression. Open
Open
if (support.matchesSelector && documentIsHTML &&
(!rbuggyMatches || !rbuggyMatches.test(expr)) &&
(!rbuggyQSA || !rbuggyQSA.test(expr))) {
try {
Consider simplifying this complex logical expression. Open
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]) {