mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-18 11:24:17 +03:00
87ab9c43a7
* Refactor prepublish script to use template file for icon objects ... to hopefully increase readability * Fix build and test issues * Add missing semi-colon * Explicitly check for errors when writing individual static .js files
11 lines
147 B
JavaScript
11 lines
147 B
JavaScript
{
|
|
title: '%s',
|
|
slug: '%s',
|
|
svg: '%s',
|
|
get path() {
|
|
return this.svg.match(/<path\s+d="([^"]*)/)[1];
|
|
},
|
|
source: '%s',
|
|
hex: '%s',
|
|
}
|