Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo app feature requested #56

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Demo app feature requested #56

wants to merge 5 commits into from

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