From 69b4111399015e1ad5ba28951bb264bafea21861 Mon Sep 17 00:00:00 2001 From: Saivan Date: Thu, 17 May 2018 17:51:36 +1000 Subject: Most of the animations are working --- spec/SpecRunner.html | 12 ++++++++++-- spec/spec/morphing.js | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'spec') diff --git a/spec/SpecRunner.html b/spec/SpecRunner.html index 5cd5f4f..d64d930 100644 --- a/spec/SpecRunner.html +++ b/spec/SpecRunner.html @@ -15,6 +15,7 @@ + @@ -52,7 +53,7 @@ - + + + + + + + + diff --git a/spec/spec/morphing.js b/spec/spec/morphing.js index 31279ee..7e79c99 100644 --- a/spec/spec/morphing.js +++ b/spec/spec/morphing.js @@ -80,7 +80,7 @@ describe('Morphing', function () { var morpher = new SVG.Morphable.TransformBag({}).to({rotate: 50, translateX: 20}) // FIXME: SVG.Matrix does now allow translateX to be passed but decompose returns it!!!!! - console.log(new SVG.Morphable.TransformBag({rotate: 50, tx: 20}).valueOf().decompose()) + console.log(new SVG.Morphable.TransformBag({rotate: 50, translateX: 20}).valueOf().decompose()) expect(morpher instanceof SVG.Morphable).toBe(true) expect(morpher.type()).toBe(SVG.Morphable.TransformBag) -- cgit v1.2.3