Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if ( param.unit && param.unit != '[]' && param.unit != 'Others' ) {
$input.attr( 'data-touchspin-postfix', param.unit );
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
else if ( field.param.dataType.toLowerCase() === 'file' ) {
// TBD
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))
{ return skipAtomicInner(doc, near, pos, dir, mayClear) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( field.param.dataType.toLowerCase === 'integer' && fieldValue.indexOf('.') > 0 ){
return {
input : field.input,
msg : 'Invalid integer value'
};
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (cutTop && cutBot) {
display.view = display.view.slice(0, cutTop.index)
.concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))
.concat(display.view.slice(cutBot.index));
display.viewTo += lendiff;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') {
continue;
} else if (i > 0) {
name.splice(i - 1, 2);
i -= 2;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ((value + '').toLowerCase().indexOf(s) !== -1) {
return true;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for (j = baseParts.length; j > 0; j -= 1) {
mapValue = map[baseParts.slice(0, j).join('/')];
//baseName segment has config, find if it has one for
//this name.
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (e.keyCode === 37 || e.keyCode === 39){
newViewDate = this.moveAvailableDate(focusDate, dir, 'moveDay');
} else if (!this.weekOfDateIsDisabled(focusDate)){
newViewDate = this.moveAvailableDate(focusDate, dir, 'moveWeek');
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (e.keyCode === 38 || e.keyCode === 40) {
dir = dir * 4;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ((value + '').toLowerCase() === s) {
return true;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (newViewDate)
this._trigger('changeMonth', this.viewDate);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (month === 0) {
month = 11;
year -= 1;
} else {
month -= 1;
- Create a ticketCreate a ticket
Function d3_geom_quadtreeVisit
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for (j = baseParts.length; j > 0; j -= 1) {
mapValue = map[baseParts.slice(0, j).join('/')];
//baseName segment has config, find if it has one for
//this name.
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (this.o.minViewMode === 1) {
this._setDate(UTCDate(year, month, day,0,0,0,0));
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (target.is('.new')) {
if (month == 11) {
month = 0;
year += 1;
} else {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (this.o.minViewMode === 2) {
this._setDate(UTCDate(year, month, day,0,0,0,0));
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(item.children) {
item.children = this.makeArray(item.children);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (part === ".") {
name.splice(i, 1);
i -= 1;
} else if (part === "..") {
if (i === 1 && (name[2] === '..' || name[0] === '..')) {
- Create a ticketCreate a ticket