Removing unnecessary atype attributes

This commit is contained in:
Jeff Avallone 2014-12-17 15:48:06 -05:00
parent 020feae951
commit a0f145ab3d
3 changed files with 0 additions and 4 deletions

View File

@ -36,7 +36,6 @@ export default {
matrix = this.transform().localMatrix; matrix = this.transform().localMatrix;
return { return {
atype: this.type,
ax: box.x, ax: box.x,
ax2: box.x2, ax2: box.x2,
ay: matrix.y(0, this.partContainer.getBBox().cy) ay: matrix.y(0, this.partContainer.getBBox().cy)

View File

@ -74,7 +74,6 @@ export default {
matrix = this.transform().localMatrix; matrix = this.transform().localMatrix;
return { return {
atype: [start.atype, end.atype].join('/'),
ax: matrix.x(start.ax, start.ay), ax: matrix.x(start.ax, start.ay),
ax2: matrix.x(end.ax2, end.ay), ax2: matrix.x(end.ax2, end.ay),
ay: matrix.y(start.ax, start.ay) ay: matrix.y(start.ax, start.ay)

View File

@ -38,7 +38,6 @@ export default class Node {
box = this.container.getBBox(); box = this.container.getBBox();
return _.extend({ return _.extend({
atype: this.type,
ax: box.x, ax: box.x,
ax2: box.x2, ax2: box.x2,
ay: box.cy ay: box.cy
@ -52,7 +51,6 @@ export default class Node {
normalizeBBox(box) { normalizeBBox(box) {
return _.extend({ return _.extend({
atype: 'normalize',
ax: box.x, ax: box.x,
ax2: box.x2, ax2: box.x2,
ay: box.cy ay: box.cy