aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a contributing and issue template guideSaivan2018-12-012-0/+74
|
* correct scriptUlrich-Matthias Schäfer2018-12-011-3/+3
|
* fix playgrounds, delete unneeded filesUlrich-Matthias Schäfer2018-12-0113-981/+31
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-0144-358/+3946
|\
| * Merge pull request #939 from svgdotjs/791-random-colorsUlrich-Matthias Schäfer2018-12-0112-102/+3178
| |\ | | | | | | Implemented random colors and added back the playgrounds
| | * Merge branch '790-color-spaces' into 791-random-colorsUlrich-Matthias Schäfer2018-12-0176-8920/+17597
| | |\ | | |/ | |/|
| * | clamp values in toHex, tests, replace for of with for inUlrich-Matthias Schäfer2018-12-012-40/+51
| | |
| * | Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-3075-8046/+15809
| |\ \
| * | | Fix bug when converting black to cymk spaceUlrich-Matthias Schäfer2018-11-262-1/+13
| | | |
| * | | Make color-animation work in all spaces (conversion bugs still there)Ulrich-Matthias Schäfer2018-11-265-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure _d is always defined - Clean up object before init - Check space in array - Use passed space instead of space in object if available
| * | | fix Morphable so that it works with color spaces. It prefers the `to` space ↵Ulrich-Matthias Schäfer2018-11-254-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | over the `from` space - _d is initialized to 0 so toArray does not give you undefined - fix tests
| | | * Implemented random colors and added back the playgroundsSaivan2018-12-0213-1834/+4057
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | This commit adds back the playgrounds and the npm demo. We also implemented a few methods to generate pretty random colors. Changes ======= - Added back the playgrounds and the npm demos - Implemented a few random color generators
| * | Finished off the color spaces, we are all green!Saivan2018-11-262-219/+250
| | | | | | | | | | | | | | | | | | | | | | | | We now have tested and working color spaces, isn't that nice! Changes ======= - All color spaces are working
| * | Reverted some of the lint rules after chatting with fuzzySaivan2018-11-2670-4221/+2148
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Updated all of the color modules and old tests are passing againSaivan2018-11-253-140/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the color modules, so that the old tests pass, we just need to modify the tests to test some of the new functionality (Since there was a lot of copy and paste work done haha) Changes ======= - Updated the color module to support a number of color spaces - Made sure all of the old tests are working again
| * | Changed the esLint rules to avoid silly ternary operators, and to let code ↵Saivan2018-11-2572-2107/+4684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 back move and dmove for groupsUlrich-Matthias Schäfer2018-12-011-0/+26
| | |
* | | add scripts to automatically upload to bower repo when publishingUlrich-Matthias Schäfer2018-12-011-4/+4
| | |
* | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵Ulrich-Matthias Schäfer2018-12-019-75/+43
| | | | | | | | | | | | | | | | | | bower to its own repo rename makeNode back to create
* | | delete dist files from repo.Ulrich-Matthias Schäfer2018-12-018-13309/+0
| |/ |/|
* | fix testing with svgdomUlrich-Matthias Schäfer2018-11-285-43/+57
| |
* | Merge branch 'es6-tests' into 3.0.0Ulrich-Matthias Schäfer2018-11-2826-129/+1000
|\ \
| * | merge karma configurationsUlrich-Matthias Schäfer2018-11-282-117/+50
| | |
| * | run buildUlrich-Matthias Schäfer2018-11-287-6171/+5912
| | |
| * | include adopter tests in test bundleUlrich-Matthias Schäfer2018-11-282-2/+2
| | |
| * | add tests for all exports of adopterUlrich-Matthias Schäfer2018-11-284-8/+177
| | |
| * | make es5 testsUlrich-Matthias Schäfer2018-11-285-2/+207
| | |
| * | add config for karma to run es6 testsUlrich-Matthias Schäfer2018-11-282-2/+118
| | |
| * | plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-2812-5992/+6402
| | |
| * | make tests work in node and browserUlrich-Matthias Schäfer2018-11-283-11/+77
| | |
| * | started to add es6 tests using svgdom as fallback in case no dom is foundUlrich-Matthias Schäfer2018-11-287-61/+292
|/ /
* | Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-2834-6383/+12734
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Merge branch 'feature/tests2' into 3.0.0Ulrich-Matthias Schäfer2018-11-2714-713/+1010
|\ \
| * | add polyfill for CustomEventUlrich-Matthias Schäfer2018-11-244-2/+10
| | |
| * | updated karma-jasmine to 2.0 - fixing ↵dotnetCarpenter2018-11-152-26/+11
| | | | | | | | | | | | https://github.com/karma-runner/karma-chrome-launcher/issues/190
| * | cleanupdotnetCarpenter2018-11-146-4/+5
| | |
| * | add rollup config to build polyfillsUlrich-Matthias Schäfer2018-11-134-26/+53
| | |
| * | Merge branch '3.0.0' into feature/tests2dotnetCarpenter2018-11-1338-274/+7395
| |\ \
| * | | committing so @fuzzyma can continue the workdotnetCarpenter2018-11-137-7365/+236
| | | |
| * | | do not send codecoverage + start some more browsers at saucelabsdotnetCarpenter2018-11-122-11/+11
| | | |
| * | | saucelabs testing with chrome 70 works - locallydotnetCarpenter2018-11-126-95/+115
| | | |
| * | | fixed with eslintdotnetCarpenter2018-11-124-4/+0
| | | |
| * | | added missing saucelabs npm packagesdotnetCarpenter2018-11-122-12/+476
| | | |
| * | | tell travis to run saucelabs testsdotnetCarpenter2018-11-122-6/+6
| | | |
| * | | testing saucelabsdotnetCarpenter2018-11-126-240/+247
| | | |
| * | | cleanup and use chromium on linuxdotnetCarpenter2018-11-114-211/+80
| | | |
* | | | fix bugs in runner, fix importsUlrich-Matthias Schäfer2018-11-264-15/+14
| | | |
* | | | Make package json ready for npm orgUlrich-Matthias Schäfer2018-11-241-1/+2
| | | |
* | | | Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵Ulrich-Matthias Schäfer2018-11-2413-383/+107
| | | | | | | | | | | | | | | | and SVGNumber on export to Array and Number
* | | | Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-2416-179/+134
| | | | | | | | | | | | | | | | | | | | - 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)