Showing 7,775 of 7,775 total issues
Avoid deeply nested control flow statements. Open
Open
if (!elem) {
// treechildren may not have the value from $n()
elem = wgt.parent.$n();
}
Avoid deeply nested control flow statements. Open
Open
while ((node = node[dir])) {
if (ofType ?
node.nodeName.toLowerCase() === name :
node.nodeType === 1) {
Avoid deeply nested control flow statements. Open
Open
if (wgt) {
wgt = wgt.parent;
}
Function extractFromRFC2822Strings
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
yearStr,
monthStr,
dayStr,
hourStr,
minuteStr,
Avoid deeply nested control flow statements. Open
Open
if ( node && node.value === id ) {
return [ elem ];
}
Avoid deeply nested control flow statements. Open
Open
if ( Expr.relative[ tokens[ j ].type ] ) {
break;
}
Avoid deeply nested control flow statements. Open
Open
if ( hasScripts ) {
// Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
jQuery.merge( scripts, getAll( node, "script" ) );
Avoid deeply nested control flow statements. Open
Open
if ( matcher( elem, context, xml ) ) {
return true;
}
Avoid deeply nested control flow statements. Open
Open
if ( matchedSelectors[ sel ] ) {
matchedHandlers.push( handleObj );
}
Avoid deeply nested control flow statements. Open
Open
if ( rscriptType.test( node.type || "" ) &&
!dataPriv.access( node, "globalEval" ) &&
jQuery.contains( doc, node ) ) {
if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) {
Avoid deeply nested control flow statements. Open
Open
if ( restoreDisplay == null ) {
display = style.display;
restoreDisplay = display === "none" ? "" : display;
}
Avoid deeply nested control flow statements. Open
Open
if ( copyIsArray && !Array.isArray( src ) ) {
clone = [];
} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
clone = {};
} else {
Avoid deeply nested control flow statements. Open
Open
if (!targets.length) {
delete elem[zk.Widget._TARGETS];
}
Avoid deeply nested control flow statements. Open
Open
if ((ofType ?
node.widgetName === name :
true) &&
++diff) {
Avoid deeply nested control flow statements. Open
Open
if ( ( event.result = ret ) === false ) {
event.preventDefault();
event.stopPropagation();
}
Avoid deeply nested control flow statements. Open
Open
while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
cur = cur.replace( " " + clazz + " ", " " );
}
Avoid deeply nested control flow statements. Open
Open
if (!elem[zk.Widget._TARGET]) {
elem[zk.Widget._TARGET] = elem[zk.Widget._CURRENT_TARGET];
delete elem[zk.Widget._CURRENT_TARGET];
}
Avoid deeply nested control flow statements. Open
Open
while ( i-- ) {
groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
toSelector( groups[ i ] );
}
Avoid deeply nested control flow statements. Open
Open
while ((node = ++nodeIndex && node && node[dir] ||
(diff = nodeIndex = 0) || start.pop())) {
if ((ofType ?
node.nodeName.toLowerCase() === name :
Avoid deeply nested control flow statements. Open
Open
if ( !selector ) {
push.apply( results, seed );
return results;
}