Showing 179 of 292 total issues
Consider simplifying this complex logical expression. Open
Open
if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
support.getById && context.nodeType === 9 && documentIsHTML &&
Expr.relative[tokens[1].type]) {
context = (Expr.find["ID"](token.matches[0].replace(runescape,
Consider simplifying this complex logical expression. Open
Open
if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
support.getById && context.nodeType === 9 && documentIsHTML &&
Expr.relative[tokens[1].type]) {
context = (Expr.find["ID"](token.matches[0].replace(runescape,
Avoid deeply nested control flow statements. Open
Open
if ((data = cache[1]) === true || data === cachedruns) {
return data === true;
}
Avoid deeply nested control flow statements. Open
Open
if (cache[1] === true) {
return true;
}
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 (v) {
partial.push(quote(k) + (gap ? ": " : ":") + v);
}
Avoid deeply nested control flow statements. Open
Open
if (elem && elem.parentNode) {
// Handle the case where IE, Opera, and Webkit return items
// by name instead of ID
if (elem.id === m) {
results.push(elem);
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.classList.remove(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.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 (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
return false;
}
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.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.className.replace(parts[_i], "");
} else {
el.className += " " + 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) {
el.className.replace(className, "");
} else {
el.className += " " + className;
}
Avoid deeply nested control flow statements. Open
Open
if (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
return false;
}