Showing 1,637 of 1,637 total issues
Avoid deeply nested control flow statements. Open
Open
switch (availableAnimAttrs[attr]) {
case nu:
diff[attr] = (to[attr] - from[attr]) / ms;
break;
case "colour":
Function image
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
R._engine.image = function (svg, src, x, y, w, h) {
Avoid deeply nested control flow statements. Open
Open
if (pj[0] == "C") {
bez2 = [x2, y2].concat(pj.slice(1));
x2 = bez2[6];
y2 = bez2[7];
} else {
Function add
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
matrixproto.add = function (a, b, c, d, e, f) {
Function drag
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
elproto.drag = function (onmove, onstart, onend, move_scope, start_scope, end_scope) {
Function q2c
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
q2c = function (x1, y1, ax, ay, x2, y2) {
Function image
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
R._engine.image = function (vml, src, x, y, w, h) {
Avoid deeply nested control flow statements. Open
Open
for (j = 0, jj = e.f.length; j < jj; j++) if (e.f[j] == f) {
e.f.splice(j, 1);
break;
}
Function d3_geom_quadtreeVisit
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {
Avoid deeply nested control flow statements. Open
Open
for (var k in path.k) if (path[has](k)) {
fontcopy.glyphs[glyph].k[k] = path.k[k];
}
Avoid deeply nested control flow statements. Open
Open
if (o._.arrows) {
"startString" in o._.arrows && addArrow(o, o._.arrows.startString);
"endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
}
Avoid deeply nested control flow statements. Open
Open
if (justCount) {
res++;
} else {
res.push({
x: is.x,
Avoid deeply nested control flow statements. Open
Open
switch (availableAnimAttrs[attr]) {
case nu:
now = +from[attr] + pos * ms * diff[attr];
break;
case "colour":
Function animateWith
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
elproto.animateWith = function (el, anim, params, ms, easing, callback) {
Function setCoords
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
setCoords = function (p, sx, sy, dx, dy, deg) {
Avoid deeply nested control flow statements. Open
Open
if (tlen == 2) {
bb = bb || el.getBBox(1);
m.rotate(t[1], bb.x + bb.width / 2, bb.y + bb.height / 2);
deg += t[1];
} else if (tlen == 4) {
Avoid deeply nested control flow statements. Open
Open
} else if (command == "s") {
if (tlen == 2 || tlen == 3) {
bb = bb || el.getBBox(1);
m.scale(t[1], t[tlen - 1], bb.x + bb.width / 2, bb.y + bb.height / 2);
sx *= t[1];
Avoid deeply nested control flow statements. Open
Open
if (stop) {
break;
}
Avoid deeply nested control flow statements. Open
Open
if (gradient) {
stops = gradient.getElementsByTagName("stop");
$(stops[stops.length - 1], {"stop-opacity": value});
}
Avoid deeply nested control flow statements. Open
Open
for (var subkey in par) if (par[has](subkey)) {
params[subkey] = par[subkey];
}