dotnetCarpenter
85cc7cc130
testing saucelabs
2018-11-12 16:13:58 +01:00
Ulrich-Matthias Schäfer
09e7d0b595
added possibility to pass in additional attribues to element creators ( #796 )
...
e.g.
- `canvas.rect({x:100})` or
- `canvas.rect(100, 100, {x:100})`
2018-11-08 19:49:49 +01:00
Ulrich-Matthias Schäfer
8c81fb7c2e
added possibility to pass attribues into a constructor like: new SVG.Rect({width:100})
2018-11-08 16:06:39 +01:00
Ulrich-Matthias Schäfer
f7f6c4b801
fill()
and stroke()
return the fill and stroke attribute when called as getter (#789 )
2018-11-08 14:14:05 +01:00
Ulrich-Matthias Schäfer
d3baefd3d4
added ax(), ay(), amove()
to change texts x and y values directly ( #787 )
2018-11-08 13:58:52 +01:00
Ulrich-Matthias Schäfer
15fd93ef07
SVG.Text.rebuild()
now takes every font-size into account (#512 )
2018-11-08 13:53:14 +01:00
Ulrich-Matthias Schäfer
ae04f7599c
implements round()
( #916 )
2018-11-08 12:59:03 +01:00
Ulrich-Matthias Schäfer
6cebf3bf0e
size function of circle now only accepts one argument ( #788 )
2018-11-08 12:04:13 +01:00
Ulrich-Matthias Schäfer
2411157132
add styletags
2018-11-08 11:31:28 +01:00
Ulrich-Matthias Schäfer
834c05b0a2
get rid of the fixmes and todos
2018-11-08 11:12:26 +01:00
Ulrich-Matthias Schäfer
4702522137
added insertAfter/Before, introduce attrHooks, move few methods, SVG.Text.textPath returns first textPath child now
2018-11-08 10:05:28 +01:00
Ulrich-Matthias Schäfer
dec70426b3
clone() does not insert the clone into the dom anymore, added beziere() and steps() to generate easing functions
2018-11-07 22:42:38 +01:00
Ulrich-Matthias Schäfer
38ce7a7520
fix the export/import function and enhance it
2018-11-07 17:09:52 +01:00
Ulrich-Matthias Schäfer
47fda3cf67
Merge branch '875-es6' into 3.0.0
2018-11-07 15:08:41 +01:00
Ulrich-Matthias Schäfer
0cae4172fa
remove other builds because of bloat for now until fixed
2018-11-07 14:05:27 +01:00
Ulrich-Matthias Schäfer
a0b13ebcac
reordered modules, add es6 build
2018-11-06 13:48:05 +01:00
Ulrich-Matthias Schäfer
9f2696e8a2
removed unused comments and files
2018-11-05 21:53:40 +01:00
Ulrich-Matthias Schäfer
2f8d32a1f4
Linted all files, upgraded all dependencies
2018-11-05 19:02:35 +01:00
Ulrich-Matthias Schäfer
4049e2e636
rework of classes, make events on every object possible
2018-11-05 15:12:58 +01:00
Ulrich-Matthias Schäfer
edc9454ddf
forgot about memory tests
2018-11-04 22:04:54 +01:00
Ulrich-Matthias Schäfer
d654ab010a
Revert back to classes, fix remaining tests
2018-11-04 21:46:33 +01:00
Ulrich-Matthias Schäfer
d22dce113a
fix even more tests
2018-11-04 17:04:11 +01:00
Ulrich-Matthias Schäfer
426256d2fc
implement registerMethods(), introduce real arrays for modern browsers, fix some tests
2018-11-04 15:59:57 +01:00
Ulrich-Matthias Schäfer
c40d7ffdfb
fix a few mistakes. Make sugar work. Roll back to childNodes because children is 10x slower
2018-11-01 16:59:51 +01:00
Ulrich-Matthias Schäfer
ac84c9be80
introduce register and registerMethod method to get rid of dependency problems
2018-11-01 15:04:55 +01:00
Ulrich-Matthias Schäfer
4eba4508e4
setup rollup to build minimized file and report stats
2018-10-28 11:19:26 +01:00
Ulrich-Matthias Schäfer
a612dc0dd5
resolve last circular dependencies, make rollup work
2018-10-27 22:43:30 +02:00
nobuti
2e7e217aab
Code review taken
2018-10-27 12:03:12 +02:00
nobuti
c1e1d726f9
Build
2018-10-27 04:59:12 +02:00
nobuti
9e9c9216fa
Build
2018-10-26 19:00:17 +02:00
Ulrich-Matthias Schäfer
f46aedf58f
fix tests
2018-10-18 12:37:55 +02:00
Ulrich-Matthias Schäfer
8ca3341952
activate sugar before merge
2018-10-18 11:28:05 +02:00
Ulrich-Matthias Schäfer
417d4b253d
add babel, satisfy linter, build dist
2018-10-17 23:09:34 +02:00
Ulrich-Matthias Schäfer
ea8767c909
fix rotation issue and make relative declaritive work
2018-06-29 10:31:11 +02:00
Ulrich-Matthias Schäfer
6ff9882c7c
satisfy linter, fix global var
2018-06-28 23:15:31 +02:00
Ulrich-Matthias Schäfer
4009da2e22
fix origin bug
2018-06-28 22:58:51 +02:00
Saivan
739e2dff56
Add a few debugging statements
2018-06-28 23:45:44 +10:00
Saivan
ad2047507d
Modified the behaviour of absolute transforms
...
This commit slightly modifies the behaviour of absolute transforms,
we will get them working soon :D
2018-06-28 23:05:16 +10:00
Saivan
6353b3d2f4
Allowed the origin to stay fixed as we animate transforms
...
This commit start to remove the expensive bbox calculation by assuming
that the origin stays at a fixed point during an animation. This is a
good assumption as transforms don't change the bbox of the element.
Changes
=======
- Refactor the Element.transform function
- Make a getOrigin function to call the bbox only one time
2018-06-26 22:42:47 +10:00
Ulrich-Matthias Schäfer
1e25302f6f
transforms work with multiple elements too. Satisfy linter
2018-06-03 08:17:15 +02:00
Ulrich-Matthias Schäfer
d0d4f86524
first tries to make transformations work
2018-06-02 13:51:18 +02:00
Saivan
52a00f2e86
Began implementing the transformation functions
2018-06-02 01:59:10 +10:00
Ulrich-Matthias Schäfer
414c79599d
worked a bit on timeline, build example, found bug which needs a fix
2018-05-30 23:45:00 +02:00
Ulrich-Matthias Schäfer
599ab86152
fixed declaritive again, fromArray now works on all object instances
2018-05-30 08:54:00 +02:00
Ulrich-Matthias Schäfer
c59a502dc7
implemented EventTarget + runner does not loop forever anymore
2018-05-29 22:42:26 +02:00
Saivan
a41c1496ba
Added a few more use cases and such
2018-05-22 16:50:56 +10:00
Saivan
69b4111399
Most of the animations are working
2018-05-17 17:51:36 +10:00
Ulrich-Matthias Schäfer
837cc126d3
add requestAnimationFrame Mock and tests for the animator
2018-05-16 23:46:04 +02:00
Ulrich-Matthias Schäfer
82b3524c10
allow arrays of events to be passed to on()
and off
2018-05-16 09:50:52 +02:00
Ulrich-Matthias Schäfer
601ab0e249
fixed morphing. Changed easing function so that it can handle strings
...
- error in Matrix constructor which ignores translateX (and more?)
- generelized all morphable objects so that they behave logical
- SVG.Morphable can handle all datatypes now
2018-05-15 10:58:32 +02:00