Showing 14,752 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (subnode = subnodes[k]) d3_transitionNode(subnode, k, id, transition);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (discriminant.valueOf() === 0) {
return [b.multiply(-1).divide(a.multiply(2)).reduce()];
// If the discriminant is greater than 0, there are two real roots:
// (-b - √discriminant) / 2a
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for (j = i + 1; j < n; ++j) q[j].i--;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
switch (col) {
case 0: calender += " ui-datepicker-group-first";
cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
case numMonths[1]-1: calender += " ui-datepicker-group-last";
cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (lookAhead("'")) {
output += "'";
} else {
literal = true;
}
- Create a ticketCreate a ticket
Function cursorCoords
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
{ if (oldCur[k].marker == span.marker) { continue spans } }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.peek() === ' ') { // Surrounded by spaces, ignore
return getType(state);
} else { // Not surrounded by spaces, back up pointer
stream.backUp(2);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (sp.to != null && sp.to != pos && nextChange > sp.to) {
nextChange = sp.to
spanEndStyle = ""
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.explicitlyCleared) {
if (!line.markedSpans) { break }
else {--i; continue}
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\d+)$/)) {
if (indexOf(newGroup, Number(m[1])) > -1) {
lst(newChanges)[prop] = change[prop]
delete change[prop]
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (modeCfg.highlightFormatting) state.formatting = "strikethrough";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.className) { spanStyle += " " + m.className }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
{ if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += " " + endStyles[j$1] } } }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.css) { css = (css ? css + ";" : "") + m.css }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to) }
- Create a ticketCreate a ticket