summaryrefslogtreecommitdiffstats
path: root/src/transform.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-05-27 23:04:21 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-05-27 23:04:21 +0200
commit6a85fb99391e73ee551e4913f9199d426ddf93c7 (patch)
treee40b4996ca54ecf57f913c54a60f3efb361b8623 /src/transform.js
parentcbf1359e0ab469e1137450192b7d612501c4bb5c (diff)
downloadsvg.js-6a85fb99391e73ee551e4913f9199d426ddf93c7.tar.gz
svg.js-6a85fb99391e73ee551e4913f9199d426ddf93c7.zip
satisfy linter
Diffstat (limited to 'src/transform.js')
-rw-r--r--src/transform.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/transform.js b/src/transform.js
index 758f40a..2a829bd 100644
--- a/src/transform.js
+++ b/src/transform.js
@@ -51,7 +51,6 @@ SVG.extend(SVG.Element, {
// Add transformations
transform: function (o, relative) {
-
// Act as a getter if no object was passed
if (o == null || typeof o === 'string') {
var decomposed = new SVG.Matrix(this).decompose()
@@ -61,7 +60,6 @@ SVG.extend(SVG.Element, {
} else if (typeof o.origin === 'string' ||
(o.origin == null && o.ox == null && o.oy == null)
) {
-
// Get the bounding box of the element with no transformations applied
var bbox = this.bbox()