compaction eror in QxD3/source/class/qxd3/Svg.js, qooxdoo-5.0.1
ssinyagin opened this issue · comments
Stanislav Sinyagin commented
Using qooxdoo-5.0.1, the resulting ep.js is corrupted. Apparently, Svg.js was not compacted properly.
Uncaught SyntaxError: expected expression, got keyword 'else' ep.js:210:1219814
the compacted code looks like this:
f(d.x<Nz)Nz=d.x;if(d.y<Nq)Nq=d.y;if(d.x>Ns)Ns=d.x;if(d.y>Nw)Nw=d.y;Nx.push(d.x);Ny.push(d.y);};else for(i=0;i<n; ++i){var Nu=+Nn(d=Nl[i],i),Nr=+No(d,i);
corresponding line 5714 in Svg.js:
if (d.x > x2_) x2_ = d.x;
if (d.y > y2_) y2_ = d.y;
xs.push(d.x);
ys.push(d.y);
} else for (i = 0; i < n; ++i) {
var x_ = +fx(d = data[i], i), y_ = +fy(d, i);
if (x_ < x1_) x1_ = x_;
Tobias Oetiker commented
fixed in 0.7.2 (I think)