Showing 544 of 841 total issues
Avoid deeply nested control flow statements. Open
Open
for ( type in data.events ) {
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
Avoid deeply nested control flow statements. Open
Open
if (name === 'v-for') {
checkFor(node, ("v-for=\"" + value + "\""), errors);
} else {
checkExpression(value, (name + "=\"" + value + "\""), errors);
}
Avoid deeply nested control flow statements. Open
Open
switch (c) {
case 0x22: inDouble = true; break // "
case 0x27: inSingle = true; break // '
case 0x28: paren++; break // (
case 0x29: paren--; break // )
Avoid deeply nested control flow statements. Open
Open
if (expression === undefined) {
// first filter, end of expression
lastFilterIndex = i + 1;
expression = exp.slice(0, i).trim();
} else {
Avoid deeply nested control flow statements. Open
Open
if ("development" !== 'production' && name === 'model') {
checkForAliasModel(el, value);
}
Avoid deeply nested control flow statements. Open
Open
if (commentEnd >= 0) {
advance(commentEnd + 3);
continue
}
Avoid deeply nested control flow statements. Open
Open
for (var i$1 = 0; i$1 < children.length; i$1++) {
if (!hydrate(childNodes[i$1], children[i$1], insertedVnodeQueue)) {
childrenMatch = false;
break
}
Avoid deeply nested control flow statements. Open
Open
for (var i = 0; i < cbs.create.length; ++i) {
cbs.create[i](emptyNode, vnode.parent);
}
Avoid deeply nested control flow statements. Open
Open
if (c.text && last && last.text) {
last.text += c.text;
} else {
// inherit parent namespace
if (ns) {
Avoid deeply nested control flow statements. Open
Open
if (argMatch && (arg = argMatch[1])) {
name = name.slice(0, -(arg.length + 1));
}
Function drawRoundedRectangle
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
helpers.drawRoundedRectangle = function(ctx, x, y, width, height, radius) {
Function addDirective
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
el,
name,
rawName,
value,
arg,
Function addVnodes
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function addVnodes (parentElm, before, vnodes, startIdx, endIdx, insertedVnodeQueue) {
Avoid deeply nested control flow statements. Open
Open
if (conditionalEnd >= 0) {
advance(conditionalEnd + 2);
continue
}
Avoid deeply nested control flow statements. Open
Open
for (var i = 0; i < old.length; i++) { old[i] = cur[i]; }
Avoid deeply nested control flow statements. Open
Open
if ("development" !== 'production' &&
typeof console !== 'undefined' &&
!bailed) {
bailed = true;
console.warn('Parent: ', elm);
Avoid deeply nested control flow statements. Open
Open
if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {
invokeInsertHook(vnode, insertedVnodeQueue, true);
return oldVnode
} else {
warn(
Avoid deeply nested control flow statements. Open
Open
if (name === 'innerHtml') { name = 'innerHTML'; }
Avoid deeply nested control flow statements. Open
Open
if (!spanGaps && lastDrawnIndex === (index - 1)) {
if (loop) {
ctx.lineTo(fillPoint.x, fillPoint.y);
} else {
ctx.lineTo(previous._view.x, fillPoint);
Avoid deeply nested control flow statements. Open
Open
if (lastDrawnIndex !== (index - 1)) {
// There was a gap and this is the first point after the gap. If we've never drawn a point, this is a special case.
// If the first data point is NaN, then there is no real gap to skip
if (spanGaps && lastDrawnIndex !== -1) {
// We are spanning the gap, so simple draw a line to this point