Showing 157 of 179 total issues
Avoid deeply nested control flow statements. Open
Open
if ( xml && xml.documentElement /* #4958 */ ) {
responses.xml = xml;
}
Function dirNodeCheck
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
Avoid deeply nested control flow statements. Open
Open
if ( copyIsArray ) {
copyIsArray = false;
clone = src && jQuery.isArray(src) ? src : [];
} else {
Avoid deeply nested control flow statements. Open
Open
for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
className = className.replace(" " + classNames[c] + " ", " ");
}
Avoid deeply nested control flow statements. Open
Open
if ( !isXML ) {
elem.sizcache = doneName;
elem.sizset = i;
}
Function ATTR
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ATTR: function( match, curLoop, inplace, result, not, isXML ) {
Function inspectPrefiltersOrTransports
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
dataType /* internal */, inspected /* internal */ ) {
Avoid deeply nested control flow statements. Open
Open
if ( relativeHierarchySelector && hasParent ) {
context = context.parentNode;
}
Avoid deeply nested control flow statements. Open
Open
if ( xhr.readyState !== 4 ) {
xhr.abort();
}
Avoid deeply nested control flow statements. Open
Open
if ( !status && s.isLocal && !s.crossDomain ) {
status = responses.text ? 200 : 404;
// IE - #1450: sometimes returns 1223 when it should be 204
} else if ( status === 1223 ) {
status = 204;
Function CLASS
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CLASS: function( match, curLoop, inplace, result, not, isXML ) {
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 ( match.jquery ? match.index( cur ) > -1 : jQuery( cur ).is( match ) ) {
ret.push({ selector: selector, elem: cur, level: level });
}
Avoid deeply nested control flow statements. Open
Open
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
} else {
Avoid deeply nested control flow statements. Open
Open
if ( xhrOnUnloadAbort ) {
delete xhrCallbacks[ handle ];
}
Avoid deeply nested control flow statements. Open
Open
if ( jQuery.isPlainObject( context ) ) {
selector = [ document.createElement( ret[1] ) ];
jQuery.fn.attr.call( selector, context, true );
} else {
Avoid deeply nested control flow statements. Open
Open
for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) {
setClass += " " + classNames[c];
}
}
Avoid deeply nested control flow statements. Open
Open
if ( !old ) {
oldContext.removeAttribute( "id" );
}
Avoid deeply nested control flow statements. Open
Open
if ( !old ) {
context.setAttribute( "id", nid );
} else {
nid = nid.replace( /'/g, "\\$&" );
}
Function access
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
access: function( elems, key, value, exec, fn, pass ) {