Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename files so that they reflect their exported classes (see next commit) | Ulrich-Matthias Schäfer | 2018-10-25 | 1 | -316/+0 |
| | |||||
* | Allowed the origin to stay fixed as we animate transforms | Saivan | 2018-06-26 | 1 | -1/+3 |
| | | | | | | | | | | | 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 | ||||
* | implemented EventTarget + runner does not loop forever anymore | Ulrich-Matthias Schäfer | 2018-05-29 | 1 | -0/+5 |
| | |||||
* | fixed all that errors which come along when removing an object. Fixed tests, ↵ | Ulrich-Matthias Schäfer | 2018-03-01 | 1 | -1/+2 |
| | | | | too and added isRoot test | ||||
* | merge SVG.Doc and SVG.Nested. Add isRoot() method, update doc methods to ↵ | Ulrich-Matthias Schäfer | 2018-03-01 | 1 | -1/+1 |
| | | | | decide between doc and nested | ||||
* | fix errors found by linter (jeah it works!) | Ulrich-Matthias Schäfer | 2018-02-27 | 1 | -1/+1 |
| | |||||
* | proposal for #807, includes #550, allow multiple events for `SVG.off()` and ↵ | Ulrich-Matthias Schäfer | 2018-02-27 | 1 | -3/+4 |
| | | | | add option argument | ||||
* | Fixed a few hanging issues with the linter | Saivan | 2018-02-27 | 1 | -7/+40 |
| | | | | | This commit fixes a few typesetting issues that probably resulted from the automated linting process | ||||
* | Actually added the linter to gulp and fixed most errors | Saivan | 2018-02-27 | 1 | -0/+1 |
| | | | | | | This commit fixes most of the errors raised by standard. There is still a strange call error, but that will be the focus of the next commit | ||||
* | The first half of the library complies with Standard linting | Saivan | 2018-02-27 | 1 | -104/+103 |
| | | | | | | This commit reformats the code so that it complies with the standard linting style. Its currently a work in progress, but it is meant to pave the way for linting in the build process | ||||
* | The dom is checked for an svgjs:data attribute which is imported when ↵ | Ulrich-Matthias Schäfer | 2017-07-28 | 1 | -2/+7 |
| | | | | creating an element | ||||
* | Lots of breaking changes. Read below! (#646, #716) | Ulrich-Matthias Schäfer | 2017-07-25 | 1 | -2/+9 |
| | | | | | | | | | | - 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 | ||||
* | use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()` | Ulrich-Matthias Schäfer | 2017-07-10 | 1 | -5/+3 |
| | |||||
* | ids are not generated upon creation anymore | Ulrich-Matthias Schäfer | 2017-04-23 | 1 | -2/+8 |
| | | | | Instead they are generated when requested (#559) | ||||
* | changed `style()` to `css()` | Ulrich-Matthias Schäfer | 2017-04-22 | 1 | -3/+3 |
| | | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix | ||||
* | prefix globals with window so window can be injected properly | Ulrich-Matthias Schäfer | 2017-03-18 | 1 | -1/+1 |
| | |||||
* | removing SVG.Set completely | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -3/+2 |
| | |||||
* | rework import/export method to be more straight forward and without regex magic | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -16/+11 |
| | |||||
* | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Conflicts (all resolved): dist/svg.js dist/svg.min.js spec/spec/boxes.js | ||||
| * | move most regexe to SVG.regex, fix matrix constructor for string argument | Ulrich-Matthias Schäfer | 2017-03-14 | 1 | -1/+1 |
| | | |||||
* | | Making initial changes for svg.js v3.0 | Ulrich-Matthias Schäfer | 2017-03-10 | 1 | -5/+1 |
|/ | | | | | | | | | | | | - removed `SVG.Array.split()` function (#604) - removed workaround for browser bug with stroke-width (#560) - removed polyfills - removed `ungroup()` in favour of `flatten()` - gradients now have their corresponding nodename as type and not only radial/linear (#606) - `SVG.Path.pointAt()` correctly returns an `SVG.Point` now (#607) - replaced static reference to `masker` in `SVG.Mask` with the `masker()` method - replaced static reference to `clipper` in `SVG.ClipPath` with the `clipper()` method - replaced static reference to `targets` in `SVG.Mask` and `SVG.ClipPath` with the `targets()` method (all three #563) | ||||
* | fixed a bug with clone which didnt copy over dom data (#621) | Ulrich-Matthias Schäfer | 2017-03-09 | 1 | -1/+4 |
| | |||||
* | make events cancelable by default (#550) - version 5 | Ulrich-Matthias Schäfer | 2017-03-09 | 1 | -0/+1 |
| | |||||
* | Speed improvements on parent element | wout | 2016-08-04 | 1 | -1/+1 |
| | |||||
* | fixed bbox when element is not in the dom (#480), added parameter to `clone` | Ulrich-Matthias Schäfer | 2016-05-13 | 1 | -3/+4 |
| | |||||
* | Implementation new fx module | Ulrich-Matthias Schäfer | 2016-03-23 | 1 | -0/+3 |
| | |||||
* | Update element.js | Milovan Zogovic | 2016-01-22 | 1 | -1/+1 |
| | | | I've encountered situation where SVG.adopt (line 176) returns null, which leads to `Uncaught TypeError: Cannot read property 'node' of null`. Checking whether parent exists fixes it. | ||||
* | fixed `svgjs:data` attribute which was not set properly in all browsers (#428) | Ulrich-Matthias Schäfer | 2016-01-21 | 1 | -1/+1 |
| | | | | | added specs for `writeDataToDom()` and `setData()` added toJSON in SVG.Number | ||||
* | dom data was not cleaned up properly (fixes #398) | Ulrich-Matthias Schäfer | 2015-11-18 | 1 | -1/+4 |
| | |||||
* | svgjs now saves crucial data in the dom (fixes #369 again) | Ulrich-Matthias Schäfer | 2015-11-06 | 1 | -0/+28 |
| | |||||
* | add `parents()` method, added specs, fixed specs | Ulrich-Matthias Schäfer | 2015-10-26 | 1 | -8/+28 |
| | |||||
* | added support for css selectors with the `parent()` method | Ulrich-Matthias Schäfer | 2015-10-25 | 1 | -3/+3 |
| | |||||
* | Fixes #360 | Ulrich-Matthias Schäfer | 2015-07-05 | 1 | -4/+4 |
| | |||||
* | remove useless executable permission | Peter Dave Hello | 2015-06-23 | 1 | -0/+0 |
| | |||||
* | Removed scale consideration in `move()` | Ulrich-Matthias Schäfer | 2015-06-21 | 1 | -8/+0 |
| | | | | It wasn't compatible to the other move-functions e.g. for the PointArray | ||||
* | Fixed bug with doc() which should always return the root SVG | Ulrich-Matthias Schäfer | 2015-06-15 | 1 | -1/+1 |
| | | | | Replaced split-function with an easier and faster one | ||||
* | Fixed bug in clone() method | wout | 2014-09-02 | 1 | -8/+16 |
| | |||||
* | Added SVG.Bare for creation of non-described elements | wout | 2014-08-01 | 1 | -4/+4 |
| | |||||
* | Added svg import / export functionalty | wout | 2014-08-01 | 1 | -0/+28 |
| | |||||
* | Further debugging matrix new implementation | wout | 2014-07-12 | 1 | -2/+2 |
| | |||||
* | Completely reworked transform system | wout | 2014-07-11 | 1 | -134/+12 |
| | |||||
* | Added new SVG.Line class and working on SVG.Matrix | wout | 2014-06-28 | 1 | -77/+9 |
| | |||||
* | Complete new clone() method | wout | 2014-06-26 | 1 | -30/+1 |
| | |||||
* | Added SVG.Circle, removed structural internal references | wout | 2014-06-25 | 1 | -14/+15 |
| | |||||
* | Removed all structural references | wout | 2014-06-21 | 1 | -45/+40 |
| | |||||
* | Added marker, symbol and dynamic referencing | wout | 2014-06-17 | 1 | -4/+11 |
| | |||||
* | Bumped to version 1.0.0-rc.7 | wout | 2014-06-11 | 1 | -2/+2 |
| | | | | Look at change log for full overview of changes. | ||||
* | toggleClass returns the svg instance | Patrick Klingemann | 2014-06-09 | 1 | -0/+1 |
| | |||||
* | trim class attribute whitespace | Patrick Klingemann | 2014-06-09 | 1 | -1/+1 |
| | |||||
* | avoid unintentional global variables | Patrick Klingemann | 2014-06-09 | 1 | -1/+3 |
| |