Commit Graph

10 Commits

Author SHA1 Message Date
Saivan
1cb509f863 Made developing a little more enjoyable
This commit adds playgrounds and a build:dev mode. Now you
can call npm run build:dev to make the linter warn you about
errors without breaking. Also, we now have playgrounds, where
you can use a built version of svg.js to run your own tests.
2018-02-27 17:23:59 +11:00
Ulrich-Matthias Schäfer
d6d3891334 Lots of breaking changes. Read below! (#646, #716)
- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them
- moved `defs()` method from `SVG.Parent` to `SVG.Element`
- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646)
- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()`
- `SVG.Nested` is not `overflow:visible` by default
- all `SVG.*` objects now can have a node as parameter when constructing
- `SVG()` does not set a default size anymore
2017-07-25 09:14:48 +02:00
wout
ceaf24d5a2 Added gradient tests 2017-02-22 12:10:22 +01:00
wout
05e0ed4776 Updated bench 2017-02-21 09:43:13 +01:00
wout
d59532cd05 Updated benchmarking system 2016-08-06 09:31:44 +02:00
wout
0e23fcd9ef Added Snap.svg to benchmarking system 2016-08-04 21:19:53 +02:00
wout
16575bdca0 Added bench styling 2016-08-04 18:41:10 +02:00
wout
7b1055707c Added native testcases for benchmarking system 2016-08-04 18:33:26 +02:00
wout
ef0ceb27ee Fixed typo in benchmark script 2016-08-04 18:06:47 +02:00
wout
f61670db80 Added benchmark script 2016-08-04 18:06:22 +02:00