summaryrefslogtreecommitdiffstats
path: root/src/transform.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-28 23:15:31 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-28 23:15:31 +0200
commit6ff9882c7c85fcd399b9c623f60d5d466cdbb99b (patch)
tree0bea5feb7403456b78d6f2264b9198e405cd40c5 /src/transform.js
parent4009da2e223e197a98bb79afd68c0a6753e0c37e (diff)
downloadsvg.js-6ff9882c7c85fcd399b9c623f60d5d466cdbb99b.tar.gz
svg.js-6ff9882c7c85fcd399b9c623f60d5d466cdbb99b.zip
satisfy linter, fix global var
Diffstat (limited to 'src/transform.js')
-rw-r--r--src/transform.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transform.js b/src/transform.js
index 6b40161..c769f53 100644
--- a/src/transform.js
+++ b/src/transform.js
@@ -1,4 +1,4 @@
-/* global arrayToMatrix */
+/* global arrayToMatrix getOrigin */
SVG.extend(SVG.Element, {
// Reset all transformations
@@ -58,7 +58,7 @@ SVG.extend(SVG.Element, {
}
// Set the origin according to the defined transform
- o.origin = getOrigin (o, this)
+ o.origin = getOrigin(o, this)
// The user can pass a boolean, an SVG.Element or an SVG.Matrix or nothing
var cleanRelative = relative === true ? this : (relative || false)