Showing 231 of 371 total issues
Avoid deeply nested control flow statements. Open
Open
if ( !anyFound ) {
return [];
}
Avoid deeply nested control flow statements. Open
Open
if ( !relativeHierarchySelector || hasParent ) {
return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
}
Avoid deeply nested control flow statements. Open
Open
if ( xhr.readyState !== 4 ) {
xhr.abort();
}
Avoid deeply nested control flow statements. Open
Open
for (j = i + 1; j < n; ++j) q[j].i--;
Avoid deeply nested control flow statements. Open
Open
while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false;
Avoid deeply nested control flow statements. Open
Open
for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {
if (d3_layout_packIntersects(k, c)) {
break;
}
}
Avoid deeply nested control flow statements. Open
Open
if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b);
Avoid deeply nested control flow statements. Open
Open
while (++i < n) if (!value.contains(name[i])) return false;
Avoid deeply nested control flow statements. Open
Open
for (j = i + 1; j < n; ++j) q[j].i -= 2;
Avoid deeply nested control flow statements. Open
Open
if (d3_layout_packIntersects(j, c)) {
isect = 1;
break;
}
Avoid deeply nested control flow statements. Open
Open
for (j = i + 1; j < n; ++j) q[j].i--;
Consider simplifying this complex logical expression. Open
Open
} else if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
(jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
!wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
value = value.replace(rxhtmlTag, "<$1></$2>");
Consider simplifying this complex logical expression. Open
Open
if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
ret = Sizzle.find( parts.shift(), context, contextXML );
context = ret.expr ?
Consider simplifying this complex logical expression. Open
Open
if ( delegateCount && !event.target.disabled && !(event.button && event.type === "click") ) {
// Pregenerate a single jQuery object for reuse with .is()
jqcur = jQuery(this);
jqcur.context = this.ownerDocument || this;
Consider simplifying this complex logical expression. Open
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 ) ) !=
Consider simplifying this complex logical expression. Open
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) || "" ) ?
Consider simplifying this complex logical expression. Open
Open
if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
// Don't re-trigger an onFOO event when we call its FOO() method
old = elem[ ontype ];
Function on
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
Function quadtree
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
d3.geom.quadtree = function(points, x1, y1, x2, y2) {
Function PSEUDO
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PSEUDO: function( match, curLoop, inplace, result, not ) {