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