Showing 3,294 of 3,294 total issues
Avoid deeply nested control flow statements. Open
Open
if ( typeof cur !== "string" ) {
if ( elem === cur ) {
match = true;
break;
}
Avoid deeply nested control flow statements. Open
Open
if (tagSpecificOptions) {
options = tagSpecificOptions.attribOptions;
isMultiple = tagSpecificOptions.multiple;
} else if (attributeData[tagInfo.attrName]) {
options = attributeData[tagInfo.attrName].attribOptions;
Avoid deeply nested control flow statements. Open
Open
if ( selMatch[ sel ] ) {
matches.push( handleObj );
}
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
if ( elem.id !== match[2] ) {
return rootjQuery.find( selector );
}
Avoid deeply nested control flow statements. Open
Open
if ( elem && elem.parentNode ) {
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem.id === match[3] ) {
return makeArray( [ elem ], extra );
Avoid deeply nested control flow statements. Open
Open
if ( safeChildNodes.length > 0 ) {
remove = safeChildNodes[ safeChildNodes.length - 1 ];
if ( remove && remove.parentNode ) {
remove.parentNode.removeChild( remove );
Avoid deeply nested control flow statements. Open
Open
if ( xhr.readyState !== 4 ) {
xhr.abort();
}
Function showOpenDialog
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
FileSystem.prototype.showOpenDialog = function (allowMultipleSelection,
chooseDirectories,
title,
initialPath,
fileTypes,
Avoid deeply nested control flow statements. Open
Open
if (classNode) {
// Class Declaration found add it to scopes
var temp = curScope.prev;
var newScope = {};
newScope.isClass = true;
Avoid deeply nested control flow statements. Open
Open
if (hints instanceof Array) {
// If we got synchronous hints, check if we have something we'll actually use
var i, foundPrefix = false;
for (i = 0; i < hints.length; i++) {
if (hints[i].indexOf(query) === 0) {
Avoid deeply nested control flow statements. Open
Open
} else if ( copy !== undefined ) {
target[ name ] = copy;
}
Avoid deeply nested control flow statements. Open
Open
if ( firing ) {
if ( i <= firingLength ) {
firingLength--;
if ( i <= firingIndex ) {
firingIndex--;
Function analyzeCode
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function analyzeCode(text, scopes, srcScope, destScope, start, end) {
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
if (_prefType !== _initialType) {
_prefType = _initialType;
}
Avoid deeply nested control flow statements. Open
Open
for ( j = tbody.length - 1; j >= 0 ; --j ) {
if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
tbody[ j ].parentNode.removeChild( tbody[ j ] );
}
}
Avoid deeply nested control flow statements. Open
Open
if (tagInfo.exclusionList.indexOf(option) === -1) {
var match = StringMatch.stringMatch(option.text || option, query, stringMatcherOptions);
if (match) {
if (option.color) {
match.color = option.color;
Avoid deeply nested control flow statements. Open
Open
for ( c = 0, cl = classNames.length; c < cl; c++ ) {
if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
setClass += classNames[ c ] + " ";
}
}
Avoid deeply nested control flow statements. Open
Open
if ( !xhrCallbacks ) {
xhrCallbacks = {};
jQuery( window ).unload( xhrOnUnloadAbort );
}