summaryrefslogtreecommitdiffstats
path: root/dist/svg.min.js
Commit message (Collapse)AuthorAgeFilesLines
* delete dist files from repo.Ulrich-Matthias Schäfer2018-12-011-3/+0
|
* run buildUlrich-Matthias Schäfer2018-11-281-1/+1
|
* Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-281-0/+3
| | | | | | | | | | | - svg.js: The esm bundle - svg.min.js: The bundle for all browsers for maximum support - svg.node.js: The bundle for node - polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js - polyfillIE.js: This is required when you use IE11 (polyfill.js still required) Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox. Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
* Code review takennobuti2018-10-271-3/+0
|
* Buildnobuti2018-10-271-1/+1
|
* Buildnobuti2018-10-261-3/+3
|
* fix testsUlrich-Matthias Schäfer2018-10-181-0/+3
|
* Modified the behaviour of absolute transformsSaivan2018-06-281-2/+0
| | | | | This commit slightly modifies the behaviour of absolute transforms, we will get them working soon :D
* transforms work with multiple elements too. Satisfy linterUlrich-Matthias Schäfer2018-06-031-1/+1
|
* first tries to make transformations workUlrich-Matthias Schäfer2018-06-021-2/+2
|
* Began implementing the transformation functionsSaivan2018-06-021-2/+2
|
* worked a bit on timeline, build example, found bug which needs a fixUlrich-Matthias Schäfer2018-05-301-2/+2
|
* fixed declaritive again, fromArray now works on all object instancesUlrich-Matthias Schäfer2018-05-301-2/+2
|
* implemented EventTarget + runner does not loop forever anymoreUlrich-Matthias Schäfer2018-05-291-2/+2
|
* Added a few more use cases and suchSaivan2018-05-221-1/+1
|\
| * add requestAnimationFrame Mock and tests for the animatorUlrich-Matthias Schäfer2018-05-161-1/+1
| |
* | Most of the animations are workingSaivan2018-05-171-2/+2
|/
* allow arrays of events to be passed to `on()` and `off`Ulrich-Matthias Schäfer2018-05-161-2/+2
|
* fixed morphing. Changed easing function so that it can handle stringsUlrich-Matthias Schäfer2018-05-151-2/+2
| | | | | | - 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
* The timeline is now decoupled from the real timeSaivan2018-05-151-2/+2
| | | | | | | | | | | | | | | This commit allows the timeline to exist independently of the actual time. This will allow it to be used to seek through an animation with relative ease. We also made some architectural changes to the timeline to support this. Changes ======= - Refactored the runner into its own file without exposing it to the user (changed the gulpfile) - The timeline no longer depends on the current time - The user can supply absolute times to queue events - Some more methods have been integrated into the timeline
* make morphing work, fix inheritance, animations now workUlrich-Matthias Schäfer2018-05-011-2/+2
|
* The animations work with the .queue methodSaivan2018-05-011-1/+1
|
* Another collaboration session with @FuzzymaSaivan2018-04-301-2/+2
|
* Initial planning for the Timeline ModuleSaivan2018-04-181-2/+2
| | | | | | This commit just includes a few plans and a massive derrangement of the fx module before it is to be refactored into the Timeline module. The basic methods are included, but everything is broken
* Removed gbox and fixed a few typosSaivan2018-03-051-1/+1
| | | | | Since gbox is completely replaced by rbox, we don't need it anymore. There were also a few small errors to fix.
* Fixed recommendations by @Fuzzyma regarding transformsSaivan2018-03-051-2/+2
| | | | | | | | | | | | This commit fixes a number of issues with transformations: - Removed move/dmove/etc... on groups - Sugar was being passed origin instead of ox, oy - Updated the changelog - Removed parseMatrix in favor of new SVG.Matrix() - .matrix is the getter for a matrix, not .transform - added a [02:24:41] Using gulpfile ~/Desktop/svg/svg.js/gulpfile.js [02:24:41] Starting 'lint'... [02:24:43] Finished 'lint' after 2.32 s directive
* Integrated the transformations into the changes in 3.0.0Saivan2018-03-041-1/+1
|\
| * removed `size()` from `SVG.Text` to avoid name clashUlrich-Matthias Schäfer2018-03-031-2/+2
| |
* | Fixed most of the tests relating to transformationsSaivan2018-03-041-2/+2
| |
* | Added matrix composition and decompositionsSaivan2018-03-031-2/+2
| | | | | | | | | | | | | | | | This commit adds matrix composition and decompositions (untested), it also adds another playground to test that this is working as expected in every case. We also fixed a few linting errors.
* | All transformations except fx and Transformations are passing nowSaivan2018-03-021-1/+1
| | | | | | | | | | This commit modifies the specification (and in some places the code) to reflect the changes to the transformations.
* | Investigating a possible rbox issue when transformingSaivan2018-03-021-1/+1
| |
* | Fixed a few more specifications regarding the new transformsSaivan2018-03-021-1/+1
| |
* | Fixed some tests involving transforms and elementsSaivan2018-03-021-2/+2
|\|
* | Implemented new transformationsSaivan2018-03-021-2/+2
| | | | | | | | | | | | This commit implements the new transformation model, but it also needs to modify a few tests to fit the new format. This is still a work in progress.
* | Made developing a little more enjoyableSaivan2018-02-271-2/+2
|/ | | | | | | 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.
* So the standard linter is operational and our code is compliantSaivan2018-02-271-2/+2
| | | | | | This commit completes the compliance of our code with the standard linter. It is now building correctly and error messages are displayed when somebody tries to build bad code!
* Actually added the linter to gulp and fixed most errorsSaivan2018-02-271-2/+2
| | | | | | 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
* All files now loosely abide by standard lintingSaivan2018-02-271-2/+2
| | | | | | This commit completes the rest of the files, making sure they are in the standard linting format. Next we will add the linter to the build process of our application.
* The first half of the library complies with Standard lintingSaivan2018-02-271-2/+2
| | | | | | 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
* make sure to remove event handlers from temporary image (#805)Ulrich-Matthias Schäfer2018-02-071-2/+2
|
* remove `SVG.A.show()` to resolve nameclash (fix #802)Ulrich-Matthias Schäfer2018-02-061-1/+1
|
* improved SVG.on and el.on (#727)Ulrich-Matthias Schäfer2017-07-281-1/+1
| | | | | - `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context - `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727)
* The dom is checked for an svgjs:data attribute which is imported when ↵Ulrich-Matthias Schäfer2017-07-281-2/+2
| | | | creating an element
* fix bug where defs returns nothingUlrich-Matthias Schäfer2017-07-251-1/+1
|
* add new default constructor (#714)Ulrich-Matthias Schäfer2017-07-251-2/+2
|
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-251-2/+2
| | | | | | | | | | - 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äfer2017-07-101-2/+2
|
* renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708)Ulrich-Matthias Schäfer2017-07-071-1/+1
|
* renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707)Ulrich-Matthias Schäfer2017-07-071-1/+1
|