Clean up code a bit.

This commit is contained in:
Jürg Lehni 2013-12-17 15:23:07 +01:00
parent e2b06b8e54
commit 6b4917f4a8

View file

@ -69,11 +69,12 @@ var PathItem = Item.extend(/** @lends PathItem# */{
curves2 = path.getCurves(),
matrix1 = this._matrix.orNullIfIdentity(),
matrix2 = path._matrix.orNullIfIdentity(),
length1 = curves1.length,
length2 = curves2.length,
values2 = [];
for (var i = 0; i < length2; i++)
values2[i] = curves2[i].getValues(matrix2);
for (var i = 0, l = curves1.length; i < l; i++) {
for (var i = 0; i < length1; i++) {
var curve1 = curves1[i],
values1 = curve1.getValues(matrix1);
for (var j = 0; j < length2; j++)