mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-17 19:04:13 +03:00
2d3485b8c1
* 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
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
{
|
|
title: '%s',
|
|
slug: '%s',
|
|
get svg() {
|
|
return '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>%s</title><path d="' + this.path + '"/></svg>';
|
|
},
|
|
path: '%s',
|
|
source: '%s',
|
|
hex: '%s',
|
|
guidelines: %s,
|
|
license: %s,
|
|
}
|