Skip to content

Conversation

@klarkc
Copy link

@klarkc klarkc commented Nov 3, 2015

Hello, I am posting here my solution for this request: #30

To load a directory from URL just append this: ?path=value

I created the function compress to be used with the filer.js package. I already did the pull request. It's a little bit confuse, but it works (:.

The compress function builds a temp folder, runs the zipEntry() loop function through temp files, the temp files are removed and inserted into the zip file, finally the compress function calls the saveAs function to download the finished zip file.

The compress function is called in the DOM, and this is defined in the constructEntryHTML function. You can also use zipEntry() and compress(index) function as you want to, somewhere else.

If you need further information please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant