aboutsummaryrefslogtreecommitdiffstats
path: root/src/morph.js
diff options
context:
space:
mode:
authorSaivan <savian@me.com>2018-05-31 00:13:43 +1000
committerSaivan <savian@me.com>2018-05-31 00:13:43 +1000
commitf20d66d21267ab8e91df2b6f236b28078c0f99e7 (patch)
tree923c81d63ca8ae2d13590860d4a50fd0363813f1 /src/morph.js
parent599ab86152869496f71ef2a4b3af2d695140fcdf (diff)
downloadsvg.js-f20d66d21267ab8e91df2b6f236b28078c0f99e7.tar.gz
svg.js-f20d66d21267ab8e91df2b6f236b28078c0f99e7.zip
The runners step was reimplemented with tests
Diffstat (limited to 'src/morph.js')
-rw-r--r--src/morph.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/morph.js b/src/morph.js
index cf674bf..36ab2fa 100644
--- a/src/morph.js
+++ b/src/morph.js
@@ -235,8 +235,8 @@ SVG.extend(SVG.MorphableTypes, {
.from(this.valueOf())
.to(val, args)
},
- fromArray: function () {
- this.constructor.apply(this, arguments)
+ fromArray: function (arr) {
+ this.constructor.call(this, arr)
return this
}
})
@@ -352,8 +352,6 @@ fn () => {
.after(fn)
}
-
-
When you start an element has a base matrix B - which starts as the identity
If you modify the matrix, then we have: