dotnetCarpenter
e4bff8c910
added test for silently fixing wrong point parameters to SVG.PointArray + better descriptions for SVG.PointArray tests
2016-10-20 17:47:40 -02:00
dotnetCarpenter
288662d0d9
fix leading/trailing space test case
...
odd number of points is invalid in SVG
See https://svgwg.org/svg2-draft/shapes.html#DataTypePoints
2016-10-20 17:45:17 -02:00
dotnetCarpenter
695f26a8df
handle leading and trailing spaces
2016-10-20 17:45:17 -02:00
Ulrich-Matthias Schäfer
0667187ea6
correct naming of test
2016-10-20 20:28:31 +02:00
Ulrich-Matthias Schäfer
f1d9f6157d
hotfix ( #529 )
2016-10-20 18:15:23 +02:00
Rémi Tétreault
2ce9170a5e
Change the SVG.FX attribute spd to _speed
...
This change is to follow the convention already put forward by the _target
attribute.
2016-10-17 19:22:18 -04:00
Rémi Tétreault
7db574d979
Make the tests of timeToPos() and posToTime() easier to understand
2016-10-17 15:58:34 -04:00
Rémi Tétreault
d29ee51f9f
Make tests relating to speed easier to understand
2016-10-17 15:17:12 -04:00
Rémi Tétreault
91d4934ca6
Make speed(0) pause the animation
2016-10-17 14:15:18 -04:00
Rémi Tétreault
a6261cda9d
Make SVG.FX.speed act more like others animations libraries
...
For example, a call .speed(2) would make the animation 2 times faster.
If you then call .speed(4), this would make the animation 4 times faster.
And a call .speed(1) would make it go back to normal speed.
2016-10-16 20:53:55 -04:00
Rémi Tétreault
97d97fbc5d
Fix the test of SVG.FX.afterAll
2016-10-15 20:40:19 -04:00
Rémi Tétreault
2acf66a8b1
Add tests for SVG.FX.loop
2016-10-15 19:18:27 -04:00
dotnetCarpenter
727d11ae3f
all tests pass - All your base are belong to us
2016-10-12 19:22:52 -02:00
Ulrich-Matthias Schäfer
9b0408547e
fixed id in test which is different in headless browser
2016-10-12 18:36:31 +02:00
Ulrich-Matthias Schäfer
42664efc08
Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke a nop when no argument given
2016-10-12 18:18:36 +02:00
Ulrich-Matthias Schäfer
26ac29a143
remove redundant test
2016-10-12 17:11:04 +02:00
dotnetCarpenter
4f8edd919a
changing implementation according to review by @Fuzzyma
2016-10-12 12:53:24 -02:00
dotnetCarpenter
eed96bcf59
fixes #525 by accepting/parsing coordianate strings where x and y is seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number
2016-10-12 12:53:24 -02:00
dotnetCarpenter
92fb920e11
Added failing test for PointArray
2016-10-12 12:52:50 -02:00
Ulrich-Matthias Schäfer
efa504adee
Merge pull request #527 from dotnetCarpenter/unittest
...
Unittests with travis. Thx @dotnetCarpenter
2016-10-12 16:45:52 +02:00
Ulrich-Matthias Schäfer
0a857d505e
fixed specs for SVG.Point, fixes #530
2016-10-12 14:48:28 +02:00
Ulrich-Matthias Schäfer
018fcce752
tests now pass in Firefox
2016-10-12 14:37:22 +02:00
dotnetCarpenter
5c18e89d27
halt dev of chrome base solution
2016-10-08 17:18:25 -02:00
dotnetCarpenter
ccaaaf0981
Apparently travis is running Firefox 31 which doesn't support 'let'
2016-10-04 21:31:47 +02:00
dotnetCarpenter
bfa8009e40
add the CSS as a fixture - not sure if its needed for the tests but here it is
2016-10-04 18:49:08 +02:00
dotnetCarpenter
a10bee3608
updated stand-alone jasmine to 2.5.2
2016-10-04 18:48:16 +02:00
dotnetCarpenter
80b90ace2e
cli unit test setup done
2016-10-04 17:26:58 +02:00
dotnetCarpenter
97cd2b7480
trying out karma-fixture
2016-10-04 15:33:28 +02:00
dotnetCarpenter
fd13630c59
fix missing ) which caused a subtle syntax error
2016-10-04 15:12:31 +02:00
wout
b0a8b25f38
Speed improvements on parent element
2016-08-04 08:58:29 +02:00
Ulrich-Matthias Schäfer
0a0a57218b
fixed line constructor which doesn't work with Array as input ( #487 )
...
added spec for mentioned issue
2016-05-16 17:00:02 +02:00
Ulrich-Matthias Schäfer
3eb3209741
fixed bbox when element is not in the dom ( #480 ), added parameter to clone
2016-05-13 14:03:10 +02:00
Ulrich-Matthias Schäfer
c0197097c4
fixed string parsing in viewbox ( #483 ), specs SVG.ViewBox
2016-05-13 13:32:48 +02:00
Ulrich-Matthias Schäfer
9e14ae8476
fixed bug in parse()
from SVG.PathArray
which does not correctly handled S
and T
( #485 )
2016-05-05 15:38:21 +02:00
Ulrich-Matthias Schäfer
30df220d96
fixed bug in add()
and SVG.Doc().create()
2016-04-15 19:53:58 +02:00
Ulrich-Matthias Schäfer
8bdc17f571
fixed SVG.morph()
( #473 )
2016-04-03 13:11:41 +02:00
Ulrich-Matthias Schäfer
8460b3b9fa
readme update, clean up
2016-03-29 12:19:05 +02:00
Ulrich-Matthias Schäfer
541c6ecc81
fix finishing up correctly with even loops, readme
2016-03-29 00:18:14 +02:00
Ulrich-Matthias Schäfer
a14a3c5fdd
discard totalProgress for now
2016-03-28 17:25:15 +02:00
Ulrich-Matthias Schäfer
d173ad16c5
revert multiple breaking changes introduced by the last commits
2016-03-28 17:18:40 +02:00
Ulrich-Matthias Schäfer
2b26d66fc4
updated jasmine and specs
2016-03-23 22:49:18 +01:00
Ulrich-Matthias Schäfer
64784ffc12
Merge branch 'master' into 3.0.0
2016-02-10 21:23:48 +01:00
Ulrich-Matthias Schäfer
0858bca9eb
fixed unit unit regex and renamed it to numberAndUnit, added specs ( fix #443 )
2016-01-23 00:24:57 +01:00
Ulrich-Matthias Schäfer
d17bab6bcc
fixed svgjs:data
attribute which was not set properly in all browsers ( #428 )
...
added specs for `writeDataToDom()` and `setData()`
added toJSON in SVG.Number
2016-01-21 17:40:13 +01:00
Ulrich-Matthias Schäfer
bf0dd2a1cc
added specs for isNumber()
and compile svg.js
2016-01-18 00:40:16 +01:00
Ulrich-Matthias Schäfer
bda9f32dcd
added SVG.Point class as wrapper for SVGPoint, added el.point()
method ( #403 / #437 )
2016-01-11 23:39:49 +01:00
Denis Mosolov
a7eaeb4b06
fix #433
2015-12-29 14:38:54 +03:00
Ulrich-Matthias Schäfer
b40238cdff
new specs, reverse, initAnimation, after, during, comments
2015-12-20 15:43:40 +01:00
Ulrich-Matthias Schäfer
b0ef62bf5c
small change in fx specs
2015-12-12 14:15:37 +01:00
Ulrich-Matthias Schäfer
d249f07e5e
added new provisionally specs for fx
2015-12-12 14:15:37 +01:00