From 71cb46236d7c71733636459d23298f051d879142 Mon Sep 17 00:00:00 2001 From: Michael Kapelko Date: Thu, 12 Sep 2019 13:12:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=B5=D0=BD=D0=B5=D1=80=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D1=81=D0=BB=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D1=80=D1=8C=20=D0=B4=D0=BB=D1=8F=20=D0=B8=D0=BA=D0=BE=D0=BD?= =?UTF-8?q?=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- иконки/2019-09-12.js | 8 ++++---- иконки/2019-09-12/ген | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/иконки/2019-09-12.js b/иконки/2019-09-12.js index 7ce342a..9a53b79 100644 --- a/иконки/2019-09-12.js +++ b/иконки/2019-09-12.js @@ -1,7 +1,7 @@ -function RR() { return [ +function RR() { return { -['layout', 'PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJib3hlcyIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWJveGVzIGZhLXctMTgiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTc2IDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNNTYwIDI4OGgtODB2OTZsLTMyLTIxLjMtMzIgMjEuM3YtOTZoLTgwYy04LjggMC0xNiA3LjItMTYgMTZ2MTkyYzAgOC44IDcuMiAxNiAxNiAxNmgyMjRjOC44IDAgMTYtNy4yIDE2LTE2VjMwNGMwLTguOC03LjItMTYtMTYtMTZ6bS0zODQtNjRoMjI0YzguOCAwIDE2LTcuMiAx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kyIDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMjAgNDI0LjIyOWgyMFYyNzkuNzcxSDIwYy0xMS4wNDYgMC0yMC04Ljk1NC0yMC0yMFYyMTJjMC0xMS4wNDYgOC45NTQtMjAgMjAtMjBoMTEyYzExLjA0NiAwIDIwIDguOTU0IDIwIDIwdjIxMi4yMjloMjBjMTEuMDQ2IDAgMjAgOC45NTQgMjAgMjBWNDkyYzAgMTEuMDQ2LTguOTU0IDIwLTIwIDIwSDIwYy0xMS4wNDYgMC0yMC04Ljk1NC0yMC0yMHYtNDcuNzcxYzAtMTEuMDQ2IDguOTU0LTIwIDIwLTIwek05NiAwQzU2LjIzNSAwIDI0IDMyLjIzNSAyNCA3MnMzMi4yMzUgNzIgNzIgNzIgNzItMzIuMjM1IDcyLTcyUzEzNS43NjQgMCA5NiAweiI+PC9wYXRoPjwvc3ZnPg==', -]; } +}; } diff --git a/иконки/2019-09-12/ген b/иконки/2019-09-12/ген index 8c6f498..feb897f 100755 --- a/иконки/2019-09-12/ген +++ b/иконки/2019-09-12/ген @@ -7,21 +7,21 @@ function gen fileName=$2 target=$3 - echo -n "['$name', '" >> $target + echo -n "'$name' : '" >> $target base64 $fileName | tr -d \\n >> $target - echo -e "'],\n" >> $target + echo -e "',\n" >> $target } function genIcons { target=$1 - echo -e "function RR() { return [\n" > $target + echo -e "function RR() { return {\n" > $target gen "layout" "boxes-solid.svg" $target gen "info" "info-solid.svg" $target - echo "]; }" >> $target + echo "}; }" >> $target } genIcons "../2019-09-12.js"