This commit is contained in:
Boof 2023-05-12 11:33:22 +02:00 committed by GitHub
parent 11bfd0c4a6
commit 14f44a929b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <title>Document</title>
<script src="index.js"></script> <script src="index.js" defer></script>
</head> </head>
<body onload="loadFiles()"> <body onload="loadFiles()">
<textarea id="outputArea"></textarea> <textarea id="outputArea"></textarea>

View File

@ -4,7 +4,7 @@ var array256 = "null"
var array1 = "null" var array1 = "null"
var output = "null" var output = "null"
var linesDone = "1" var linesDone = "1"
const outputArea = document.getElementById("outputArea").value const outputArea = document.getElementById("outputArea")
function loadFiles() { function loadFiles() {
loadString() loadString()
@ -62,7 +62,7 @@ function mergeToCsv() {
Astring = arrayString[linesDone]; Astring = arrayString[linesDone];
A1 = array1[linesDone]; A1 = array1[linesDone];
output = Astring + "," + Amd5 + "," + A1 + "," + A256 output = Astring + "," + Amd5 + "," + A1 + "," + A256
outputArea = outputArea + "\n" + output outputArea.value = outputArea.value + "\n" + output
} }
linesDone + 1 linesDone + 1
} }