Showing 1,485 of 3,294 total issues
Avoid deeply nested control flow statements. Open
Open
if (pn.id !== "(string)" && pn.id !== "(number)" &&
pn.id !== "(regexp)" && pn.identifier !== true &&
pn.id !== "}") {
break;
}
Avoid deeply nested control flow statements. Open
Open
if ( copyIsArray ) {
copyIsArray = false;
clone = src && isArray(src) ? src : [];
} else {
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 ( name in thisCache ) {
name = [ name ];
} else {
name = name.split( " " );
}
Avoid deeply nested control flow statements. Open
Open
if ( !match ) {
anyFound = found = true;
} else if ( match === true ) {
continue;
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
if ( name.indexOf( "data-" ) === 0 ) {
name = jQuery.camelCase( name.substring(5) );
dataAttr( elem, name, data[ name ] );
}
Avoid deeply nested control flow statements. Open
Open
if ( !anyFound ) {
return [];
}
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 (!tagData.tags[tagInfo.tagName] && !(attributeData[tagInfo.attrName] || tagSpecificOptions)) {
return null;
}
Avoid deeply nested control flow statements. Open
Open
if ( firing ) {
if ( i <= firingLength ) {
firingLength--;
if ( i <= firingIndex ) {
firingIndex--;
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
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 ( !inplace ) {
curLoop = result;
}
Avoid deeply nested control flow statements. Open
Open
if ( ret[r] === ret[n] ) {
ret.splice(n--, 1);
break;
}
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
} else if ( copy !== undefined ) {
target[ name ] = copy;
}
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 ( 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 ( !old ) {
oldContext.removeAttribute( "id" );
}