summaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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