aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* update dependenciesUlrich-Matthias Schäfer2024-06-181-6/+6
|
* fix css, dont throw when screenCtm fails (fixes #968)Ulrich-Matthias Schäfer2023-09-031-7/+0
|
* allow + as delemiter in paths (fixes #1165)Ulrich-Matthias Schäfer2023-09-031-2/+3
|
* doscontinue use of svgjs:data in favor of data-svgUlrich-Matthias Schäfer2023-09-031-1/+2
|
* fix import of leading, dont write data to dom if not neccessaryUlrich-Matthias Schäfer2023-09-031-0/+16
|
* allow nodes that are not imported yet (fixes #1252)Ulrich-Matthias Schäfer2023-09-031-2/+3
|
* skip descriptive elements on rebuild and toParentUlrich-Matthias Schäfer2023-09-021-0/+4
|
* dependency updates, easier formattingUlrich-Matthias Schäfer2023-06-135-83/+91
|
* Spelling correctionsalbert-github2023-04-151-1/+1
|
* this time for real revert package lockDaniel2021-09-221-5/+1
|
* Revert "remove old code"Daniel2021-09-221-1/+2
| | | | This reverts commit aeea23be44bb6dc1653837c61c82a404d4701c8b.
* Revert "remove old code"Daniel2021-09-221-0/+3
| | | | This reverts commit aeea23be44bb6dc1653837c61c82a404d4701c8b.
* reverted package lock and edit nodeOrNewDaniel2021-09-221-1/+1
|
* remove old codeDaniel2021-09-221-4/+0
|
* check 'ownerDocument' in node in nodeOrNewDaniel Kern2021-09-201-1/+2
|
* newDaniel Kern2021-09-201-4/+4
|
* nodeornewDaniel Kern2021-09-201-0/+3
|
* update dependencies, apply new linter fixesUlrich-Matthias Schäfer2021-01-133-27/+37
|
* typos (#1179)ordago2020-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * typos in 1000-accesses.js * typos in transforms.js * typos in Controller.js * typos in Runner.js * typos in Timeline.js * typos in Dom.js * typos in Marker.js * typos in Mask.js * typos in Tspan.js * typos in containerGeometry.js * typos in event.js * typos in css.js * typos in data.js * typos in sugar.js * typos in EventTarget.js * typos in List.js * typos in Matrix.js * typos in SVGArray.js * typos in utils.js * typos in RAFPlugin.js * typos in Runner.js * typos in Timeline.js * typos in Dom.js * typos in Pattern.js * typos in arrange.js * typos in Box.js * typos in SVGNumber.js * typos in utils.js * typos in CONTRIBUTING.md
* fix for arc flags parsingMike Wilkerson2020-12-121-1/+4
|
* fix `clone()` to return the correct instance (#1154)Ulrich-Matthias Schäfer2020-09-271-2/+3
|
* fix path parsing (#1145)Ulrich-Matthias Schäfer2020-09-051-0/+234
|
* Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own ↵Ulrich-Matthias Schäfer2020-05-041-36/+4
| | | | transforms, updated dependencies, finished tests, removed old es5 tests
* renamed svg namespace to svgUlrich-Matthias Schäfer2020-04-231-2/+2
|
* added Fragment, completed Dom Tests, fixed `matches()` for document fragmentsUlrich-Matthias Schäfer2020-04-081-0/+4
|
* fixed put and adopter, added tests to cover itUlrich-Matthias Schäfer2020-03-291-3/+5
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-282-25/+41
| | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format
* Updated dependencies to newest version, new linter fixed stuffUlrich-Matthias Schäfer2019-11-013-7/+7
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-121-0/+24
| | | | act against user intention, fixed bug in `font()`
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-121-2/+2
|
* fixed methods not returning this and missing methods on ListUlrich-Matthias Schäfer2018-12-032-2/+2
|
* fix playgrounds, delete unneeded filesUlrich-Matthias Schäfer2018-12-011-1/+1
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-013-5/+7
|\
| * Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-303-34/+48
| |\
| * | Reverted some of the lint rules after chatting with fuzzySaivan2018-11-264-209/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reverts some of the rules we added on the linter, it changed a lot of code again... but these won't happen too often. Changes ======= - Modified the linter again
| * | Changed the esLint rules to avoid silly ternary operators, and to let code ↵Saivan2018-11-254-96/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breathe! This commit modifies some of the eslint rules, to allow our code to be a little bit more readable. This came about because we had a particularly pesky problem, where the code was indenting ternary operators. This fixes that, and makes it easy to add new rules to eslint as we please in the future. Changes ======= - Rebuilt the library with new eslint rules - Changed the eslintrc file to a yaml file by default
* | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵Ulrich-Matthias Schäfer2018-12-011-3/+3
| |/ |/| | | | | | | | | bower to its own repo rename makeNode back to create
* | run buildUlrich-Matthias Schäfer2018-11-281-1/+1
| |
* | add tests for all exports of adopterUlrich-Matthias Schäfer2018-11-281-6/+12
| |
* | plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-281-0/+23
| |
* | Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-282-12/+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.
* | Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-241-7/+4
| | | | | | | | | | - words() and element() added to Dom - svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)
* | rewrite few lines of adopterUlrich-Matthias Schäfer2018-11-211-12/+9
|/
* adds `List` which does bring back `SVG.Set` in an elegant way (#645)Ulrich-Matthias Schäfer2018-11-122-0/+14
|
* evaluate window and document on access and not on importUlrich-Matthias Schäfer2018-11-122-14/+11
|
* make window and document exchangeable in case they are not globals alreay, ↵Ulrich-Matthias Schäfer2018-11-112-0/+13
| | | | make sure that init functions are chaninable
* added possibility to pass in additional attribues to element creators (#796)Ulrich-Matthias Schäfer2018-11-081-1/+1
| | | | | | e.g. - `canvas.rect({x:100})` or - `canvas.rect(100, 100, {x:100})`
* added possibility to pass attribues into a constructor like: `new ↵Ulrich-Matthias Schäfer2018-11-081-3/+23
| | | | SVG.Rect({width:100})`
* add styletagsUlrich-Matthias Schäfer2018-11-081-0/+7
|
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-063-0/+243