aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The first half of the library complies with Standard lintingSaivan2018-02-2734-6433/+6429
| | | | | | 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-073-7/+15
|
* remove test for `show()`Ulrich-Matthias Schäfer2018-02-061-7/+0
|
* remove `SVG.A.show()` to resolve nameclash (fix #802)Ulrich-Matthias Schäfer2018-02-063-10/+2
|
* improved SVG.on and el.on (#727)Ulrich-Matthias Schäfer2017-07-285-300/+85
| | | | | - `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-285-17/+18
| | | | creating an element
* fix bug where defs returns nothingUlrich-Matthias Schäfer2017-07-253-4/+4
|
* add new default constructor (#714)Ulrich-Matthias Schäfer2017-07-2515-136/+104
|
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-2527-267/+475
| | | | | | | | | | - 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-1010-49/+47
|
* renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708)Ulrich-Matthias Schäfer2017-07-077-14/+15
|
* renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707)Ulrich-Matthias Schäfer2017-07-076-37/+38
|
* reworked textPath (see #705)Ulrich-Matthias Schäfer2017-07-078-114/+168
|
* Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-07-0621-1246/+2711
|\ | | | | | | | | | | | | | | Conflicts (All resolved): dist/svg.js dist/svg.min.js package.json src/doc.js
| * fix array values which were not animated (#698)Ulrich-Matthias Schäfer2017-07-063-2/+6
| |
| * Merge pull request #686 from maltefl/typescript_fixesUlrich-Matthias Schäfer2017-06-062-6/+6
| |\ | | | | | | TypeScript fixes and remove unused parameter
| | * Syntax fixes in TypeScript declaration fileMalte Fastrup Lyngsø2017-06-061-5/+5
| | |
| | * Removed unused parameter spof of function spof()Malte Fastrup Lyngsø2017-06-061-1/+1
| |/
| * bump 2.6.22.6.2Ulrich-Matthias Schäfer2017-06-054-5533/+5532
| |
| * changelog, gitignoreUlrich-Matthias Schäfer2017-06-042-0/+2
| |
| * Update CHANGELOG and rebuild the libRémi Tétreault2017-05-274-6/+41
| |
| * Fixed links to releasesJon Ege Ronnenberg2017-05-271-11/+14
| |
| * Merge pull request #676 from jcorentin/fix-height-width-animationRémi Tétreault2017-05-262-0/+24
| |\ | | | | | | Make width() and height() setters animatable
| | * Add unit tests for width & height animationCorentin J2017-05-111-0/+16
| | |
| | * Add animatable width & heightCorentin J2017-05-111-0/+8
| | |
| * | Add missing type definitions to svg.js.d.ts (#680)Youngrok Kim2017-05-201-4/+8
| | |
| * | fixed `SVG.FX.step` so that the animation doesn't stop if an afterAll ↵Rémi Tétreault2017-05-145-17/+43
| |/ | | | | | | callback call animate (#677)
| * revert the previous commitRémi Tétreault2017-05-025-151/+42
| | | | | | | | remove the typeof check in the initialisation of SVG.Matrix
| * allow SVG.Matrix to be passed SVG.NumberRémi Tétreault2017-05-015-11/+140
| |
| * Adds the intended functionality to call animate functions with multiple ↵Ulrich-Matthias Schäfer2017-04-303-12/+31
| | | | | | | | | | parameter (#671) e.g. `el.animate().zoom(level, point)`
| * fixed `SVG.FX.once` so that it add its callback on the last situation ↵Rémi Tétreault2017-04-305-5489/+5499
| | | | | | | | instead of the current one
| * format fixture svg and remove redundant css (use fixture.css instead)dotnetCarpenter2017-04-272-38/+32
| |
| * move fixtures to the fixtures folderdotnetCarpenter2017-04-274-4/+4
| |
| * updated jasmine to 2.6.0 and added @RmiTtro as maintainerdotnetCarpenter2017-04-269-1141/+2460
| |
| * load correct benchmarks again2.6.1Ulrich-Matthias Schäfer2017-04-251-3/+2
| |
| * fixed a bug in path parser which made it stop parsing when hitting z command ↵Ulrich-Matthias Schäfer2017-04-257-11/+17
| | | | | | | | (#665)
* | fix testcasesUlrich-Matthias Schäfer2017-04-251-2/+2
| |
* | `SVG.extend` now expects exactly one module or an array of modulesUlrich-Matthias Schäfer2017-04-2512-43/+36
| | | | | | | | | | | | Conflicts: dist/svg.js dist/svg.min.js
* | fixed a bug in path parser which made it stop parsing when hitting z command ↵Ulrich-Matthias Schäfer2017-04-255-7/+12
| | | | | | | | | | | | | | | | | | | | (#665) Conflicts: bench/runner.html dist/svg.js dist/svg.min.js package.json
* | ids are not generated upon creation anymoreUlrich-Matthias Schäfer2017-04-2315-65/+79
| | | | | | | | Instead they are generated when requested (#559)
* | changed `style()` to `css()`Ulrich-Matthias Schäfer2017-04-2212-126/+144
| | | | | | | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix
* | rename style to cssUlrich-Matthias Schäfer2017-04-221-0/+0
| |
* | Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-04-2249-5662/+6237
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts - all resolved: # dist/svg.js # dist/svg.min.js # package.json # spec/SpecRunner.html # spec/spec/boxes.js # spec/spec/element.js # spec/spec/image.js # spec/spec/svg.js # src/boxes.js # src/flatten.js # src/image.js # src/polyfill.js # src/style.js # src/svg.js
| * added `options` to `on()`, back to sloppy mode2.6.0Ulrich-Matthias Schäfer2017-04-215-10/+16
| | | | | | | | | | - added `options` object to `SVG.on()` and `el.on()` (#661) - back to sloppy mode because of problems with plugins (#660)
| * Merge pull request #661 from svgdotjs/feature-options-for-eventsUlrich-Matthias Schäfer2017-04-213-10/+10
| |\ | | | | | | add options arguments to `on()`
| | * add options arguments to `on()`Ulrich-Matthias Schäfer2017-04-203-10/+10
| |/
| * update changelogUlrich-Matthias Schäfer2017-04-171-5/+2
| |
| * bump 2.5.32.5.3Ulrich-Matthias Schäfer2017-04-177-5499/+5499
| |
| * update readmeUlrich-Matthias Schäfer2017-04-171-0/+3
| |
| * Fix the flip transform on both axisRémi Tétreault2017-04-157-31/+202
| | | | | | | | | | This fix the bug that made calling flip without any argument (`element.flip()`) not work.