aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-08 11:12:26 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-08 11:12:26 +0100
commit834c05b0a251f38043a7961dab920f20720c1144 (patch)
tree36b610ca049952079468f03f1902f376124ddaa8 /src/types
parent4702522137dac17a6312c521f3c1974eb839c5eb (diff)
downloadsvg.js-834c05b0a251f38043a7961dab920f20720c1144.tar.gz
svg.js-834c05b0a251f38043a7961dab920f20720c1144.zip
get rid of the fixmes and todos
Diffstat (limited to 'src/types')
-rw-r--r--src/types/Morphable.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/types/Morphable.js b/src/types/Morphable.js
index 2b12375..021c5f4 100644
--- a/src/types/Morphable.js
+++ b/src/types/Morphable.js
@@ -12,7 +12,6 @@ import SVGNumber from './SVGNumber.js'
export default class Morphable {
constructor (stepper) {
- // FIXME: the default stepper does not know about easing
this._stepper = stepper || new Ease('-')
this._from = null
@@ -230,11 +229,11 @@ export function registerMorphableType (type = []) {
export function makeMorphable () {
extend(morphableTypes, {
- to (val, args) {
+ to (val) {
return new Morphable()
.type(this.constructor)
.from(this.valueOf())
- .to(val, args)
+ .to(val)
},
fromArray (arr) {
this.init(arr)