aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/utils.js
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
|
* 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
|
* skip descriptive elements on rebuild and toParentUlrich-Matthias Schäfer2023-09-021-0/+4
|
* dependency updates, easier formattingUlrich-Matthias Schäfer2023-06-131-32/+24
|
* update dependencies, apply new linter fixesUlrich-Matthias Schäfer2021-01-131-21/+31
|
* 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
* This is a big one...Ulrich-Matthias Schäfer2020-03-281-23/+38
| | | | | | | | | | | | | | | | | | | | ### 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-011-3/+3
|
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-121-2/+2
|
* Reverted some of the lint rules after chatting with fuzzySaivan2018-11-261-66/+28
| | | | | | | | | 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-251-29/+69
| | | | | | | | | | | | | | 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
* add styletagsUlrich-Matthias Schäfer2018-11-081-0/+7
|
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-061-0/+96