Генерировать функцию вместо массива в формате base64

This commit is contained in:
2019-09-08 15:30:43 +03:00
parent 9bf9802b86
commit 8ed6663951
86 changed files with 88 additions and 88 deletions

View File

@@ -41,7 +41,7 @@ function genBase
{
target=$1
echo -e "const R = [\n" > $target
echo -e "function RR() { return [\n" > $target
for prefix in "0" "1"
do
@@ -54,7 +54,7 @@ function genBase
done
done
echo "];" >> $target
echo "]; )" >> $target
}
genBase "../2019-09-08.js"