From a0f145ab3dd7cded423ea3af24505b58069f9548 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Wed, 17 Dec 2014 15:48:06 -0500 Subject: [PATCH] Removing unnecessary atype attributes --- src/js/parser/javascript/charset.js | 1 - src/js/parser/javascript/match.js | 1 - src/js/parser/javascript/node.js | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/js/parser/javascript/charset.js b/src/js/parser/javascript/charset.js index 95d72eb..1e9c3c7 100644 --- a/src/js/parser/javascript/charset.js +++ b/src/js/parser/javascript/charset.js @@ -36,7 +36,6 @@ export default { matrix = this.transform().localMatrix; return { - atype: this.type, ax: box.x, ax2: box.x2, ay: matrix.y(0, this.partContainer.getBBox().cy) diff --git a/src/js/parser/javascript/match.js b/src/js/parser/javascript/match.js index 267ed5d..220037d 100644 --- a/src/js/parser/javascript/match.js +++ b/src/js/parser/javascript/match.js @@ -74,7 +74,6 @@ export default { matrix = this.transform().localMatrix; return { - atype: [start.atype, end.atype].join('/'), ax: matrix.x(start.ax, start.ay), ax2: matrix.x(end.ax2, end.ay), ay: matrix.y(start.ax, start.ay) diff --git a/src/js/parser/javascript/node.js b/src/js/parser/javascript/node.js index 721d640..9abf4b2 100644 --- a/src/js/parser/javascript/node.js +++ b/src/js/parser/javascript/node.js @@ -38,7 +38,6 @@ export default class Node { box = this.container.getBBox(); return _.extend({ - atype: this.type, ax: box.x, ax2: box.x2, ay: box.cy @@ -52,7 +51,6 @@ export default class Node { normalizeBBox(box) { return _.extend({ - atype: 'normalize', ax: box.x, ax2: box.x2, ay: box.cy