1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00
simple-icons/scripts
Álvaro Mondéjar 2d3485b8c1
Use getter for svg instead of path in packaged javascript version of icons (#6505)
* Use getter for 'svg' instead of 'path' in packaged javascript version of icons

* Use variable to avoid calling `escape` twice

* Convert title to HTML friendly in build script

* Update tests

* Only friendly title for SVG content

* Add equality test for SVG contents

* Add missing import

* Test using icons template

* Fix lint error

* Fix lint error in utils

* Read files synchronicly in tests

* Remove done from tests, make them pass

* Remove uneeded imports

* Remove replacements in tests

* Update with changes in develop

* Drop uneeded requirement

* Space between requirements

* Simplify encoding utility

* Fix syntax error

* Apply @ericcornelissen's suggestions

* Apply @ericcornelissen's suggestions
2021-11-06 16:03:37 +01:00
..
build Use getter for svg instead of path in packaged javascript version of icons (#6505) 2021-11-06 16:03:37 +01:00
lint Setup prettier (#6758) 2021-10-25 21:13:10 +02:00
release Setup prettier (#6758) 2021-10-25 21:13:10 +02:00
get-filename.js Setup prettier (#6758) 2021-10-25 21:13:10 +02:00
utils.js Use getter for svg instead of path in packaged javascript version of icons (#6505) 2021-11-06 16:03:37 +01:00