You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
Good morning,
I make web application. I have small problem. User select zip file from your computer and i have blob from it. My code for load zip is:
var readerWorker = new FileReader()
var fileWorker = fileForOpen.files[0]
readerWorker.onload = function (e) {
var text = e.target.result
text = text.toString().substring(41)
var zip = new JSUnzip(text)
var isZip = zip.isZipFile()
if (isZip) {
zip.readEntries()
for (var file in zip.entries) {
var withoutCompression
if (file.compressionMethod === 0) {
withoutCompression = file.data
} else if (file.compressionMethod === 8) {
withoutCompression = JSInflate.inflate(file.data)
}
}
}
}
readerWorker.readAsDataURL(fileWorker)
I just deprecated this project. I was looking into fixing bugs and updating it, but I found a much better alternative that didn't exist when I created this project. Check it out :)
Good morning,
I make web application. I have small problem. User select zip file from your computer and i have blob from it. My code for load zip is:
In the variable text is for example:
If I debug it, I see in variable isZip value false. Why?
The text was updated successfully, but these errors were encountered: