mirror of
https://github.com/javl/image2cpp.git
synced 2026-09-12 01:22:33 +00:00
format code
This commit is contained in:
+6
-6
@@ -1231,12 +1231,12 @@
|
||||
function downloadFile() {
|
||||
raw = [];
|
||||
images.each((image) => {
|
||||
data = imageToString(image)
|
||||
.split(',')
|
||||
.map(s => s.trim())
|
||||
.filter(Boolean)
|
||||
.map((byte) => parseInt(byte, 16));
|
||||
raw = raw.concat(data);
|
||||
data = imageToString(image)
|
||||
.split(',')
|
||||
.map(s => s.trim())
|
||||
.filter(Boolean)
|
||||
.map((byte) => parseInt(byte, 16));
|
||||
raw = raw.concat(data);
|
||||
});
|
||||
data = new Uint8Array(raw);
|
||||
a = document.createElement("a");
|
||||
|
||||
Reference in New Issue
Block a user